extend_epi_future: Extend epidemiology dataframe into future.

Description Usage Arguments Value

View source: R/forecasting_helpers.R

Description

Extend epidemiology dataframe into future.

Usage

1
2
3
4
5
6
7
extend_epi_future(
  epi_data,
  quo_popfield,
  quo_groupfield,
  groupings,
  report_dates
)

Arguments

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.

Value

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.


EcoGRAPH/epidemiar documentation built on Nov. 13, 2020, 5:31 p.m.