r - Subsetting HTML table source data according to checkbox input -
i'd display table 1 created dplyr chain below in html. want there ability control filter part of chain graphically (e.g. check boxes) in html file. example, might want "groups , b , contact.lists c , e". there way e.g. dt package? know can add filter box, i'm not sure if there's way both filtering , grouping/summarizing. calls <- data.frame(calldate = sample(1:30,100,t), group = sample(letters[1:3],100,t), contact.list = sample(letters[1:7],100, t), var1 = runif(100), var2 = runif(100), var3 = runif(100)) library(dplyr) calls %>% filter(contact.list == 'a') %>% group_by(calldate) %>% select(var1, var2, var3) %>% summarize(s1 = sum(var1), s2 = sum(var2), s3 = sum(var3))