From be336bfcd00c8de10fd4a7ce33d703895647bbbc Mon Sep 17 00:00:00 2001 From: Roman Eisner Date: Mon, 28 Oct 2024 13:41:09 -0600 Subject: [PATCH] remove unneeded comment --- volume_timeline_module.R | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/volume_timeline_module.R b/volume_timeline_module.R index 2584ffa..049fb6a 100644 --- a/volume_timeline_module.R +++ b/volume_timeline_module.R @@ -46,11 +46,7 @@ volumeTimeline <- function(input, output, session, mutate(Date = as.Date(paste0(Date, "-01"))) %>% arrange(display_name) - # pad months: - # I can't find a way to do this in the ES query, bc the query first does the - # search (so returns a subset of docs), then does the aggregation. - # This means that for histogram aggregation, it never returns bins before the - # first, or after the last non-zero value + # Pad months: all_months <- data_set_info() %>% filter(index_name %in% unique(aggregations$month_counts.buckets$index)) %>% group_by(display_name) %>%