Closed florianm closed 3 years ago
etlTN > wastd.Rmd > duplicate surveys: show only true, overlapping surveys as duplicates. Add sparkline minicharts to show duration?
# p <- tibble::tibble( # name = rep(c("A", "B"), each = 20), # value = runif(40, min = -10, max = 10) %>% cumsum() # ) %>% # dplyr::group_by(name) %>% # dplyr::summarise( # chart = spk_chr( # value, # type="line") # ) %>% # gt::gt() %>% # gt::fmt_markdown(columns = vars(chart)) # # p # p_html <- gt:::as.tags.gt_tbl(p) # # p_html <- htmltools::attachDependencies(p_html, htmlwidgets::getDependency("sparkline")) # p_html # print(p_html, browse = interactive())
Splitting surveys into morning and evening surveys effectively avoided most false positives.
etlTN > wastd.Rmd > duplicate surveys: show only true, overlapping surveys as duplicates. Add sparkline minicharts to show duration?
Example for sparkline in table