Description Usage Arguments Value
View source: R/forecasting_helpers.R
Extend epidemiology dataframe into future.
1 2 3 4 5 6 7 | extend_epi_future(
epi_data,
quo_popfield,
quo_groupfield,
groupings,
report_dates
)
|
epi_data |
Epidemiological data with case numbers per week, with date field "obs_date". |
quo_popfield |
Quosure of user-given field containing population values. |
quo_groupfield |
Quosure of the user given geographic grouping field to run_epidemia(). |
groupings |
A unique list of the geographic groupings (from groupfield). |
report_dates |
Internally generated set of report date information: min, max, list of dates for full report, known epidemiological data period, forecast period, and early detection period. |
Epidemiological dataset extended past the known epi data time range and into the future/forecast period. Case numbers are filled in the NA (to be forecasted), and the population is estimated in a persistence method.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.