Pre-process hospital admissions data, converting column names to those that get_stan_data()
expects.
Source: R/preprocessing.R
preprocess_count_data.Rd
Pre-process hospital admissions data, converting column names to those
that get_stan_data()
expects.
Usage
preprocess_count_data(
count_data,
count_col_name = "daily_hosp_admits",
pop_size_col_name = "state_pop"
)
Arguments
- count_data
dataframe containing the following columns: date, a count column, and a population size column
- count_col_name
name of the column containing the epidemiological indicator, default is
daily_hosp_admits
- pop_size_col_name
name of the column containing the population size of that the counts are coming from, default is
state_pop