Returns a tibble
of Connecticut case, death, vaccine RR,
booster and hospitalizations data from December 2, 2021 to June 30, 2022.
Only one type of data will be returned at a time.
example_ct_data(type = "cases")
A string: "cases"
or "deaths"
or "RR"
or
"hosp"
or "boost"
A tibble with two variables: date
, a vector of Date
objects, and observation
, a vector of doubles.
cfg <- covidestim(nweeks = 32, region = 'Connecticut',
pop = get_pop("Connecticut"),
start_p_imm = get_imm_init("Connecticut")$start_p_imm,
cum_p_inf_init = get_imm_init("Connecticut")$cum_p_inf_init) +
input_cases(example_ct_data('cases')) +
input_deaths(example_ct_data('deaths')) +
input_rr(example_ct_data('RR')) +
input_hosp(example_ct_data('hospi')) +
input_boost(example_ct_data('boost'))
#> Error: Number of observations in obs_cas (31) was not equal to N_weeks (32)
if (FALSE) {
result <- run(cfg)
}