Exclude hospital outliers
Usage
exclude_hosp_outliers(
raw_input_hosp_data,
forecast_date,
table_of_exclusions,
col_name_dates_to_exclude = "dates_to_exclude"
)
Arguments
- raw_input_hosp_data
A dataframe containing the location, the date of admission, and the number of hospital admissions, in that location
- forecast_date
The forecast date as a character string
- table_of_exclusions
A table containing the combinations of locations, forecast dates, and dates to exclude. These will be treated as missing by the model
- col_name_dates_to_exclude
The name of the column in the table of exclusions that corresponds to the date of hospital admissions to exclude, default is
dates_to_exclude