We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2a0f9f commit 1523d41Copy full SHA for 1523d41
scripts/flu_hosp_prod.R
@@ -16,7 +16,7 @@ end_date <- Sys.Date()
16
forecast_generation_date <- Sys.Date()
17
# Usually, the forecast_date is the same as the generation date, but you can
18
# override this. It should be a Wednesday.
19
-forecast_date <- Sys.Date()
+forecast_date <- round_date(forecast_generation_date, "weeks", week_start = 3)
20
# If doing backfill, you can set the forecast_date to a sequence of dates.
21
# forecast_date <- seq.Date(as.Date("2024-11-20"), Sys.Date(), by = 7L)
22
# forecast_generation_date needs to follow suit, but it's more complicated
0 commit comments