Skip to content

Commit 8c1040c

Browse files
committed
hotfix: clear_lastminute_nas in scaled_pop_seasonal
1 parent 7cd135f commit 8c1040c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

R/forecasters/forecaster_scaled_pop_seasonal.R

+2
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ scaled_pop_seasonal <- function(epi_data,
7070
#
7171
# this is for the case where there are multiple sources in the same column
7272
epi_data %<>% filter_extraneous(filter_source, filter_agg_level)
73+
# this is a temp fix until a real fix gets put into epipredict
74+
epi_data <- clear_lastminute_nas(epi_data, outcome, extra_sources)
7375
# this next part is basically unavoidable boilerplate you'll want to copy
7476
args_input <- list(...)
7577
# edge case where there is no data or less data than the lags; eventually epipredict will handle this

0 commit comments

Comments
 (0)