Returns a tibble
of NYC case and death and vaccine RR
data from February 29, 2020 to June 27, 2020. Only one type of data will be
returned at a time. RRs will always be equal to 1, because no vaccine exists
during this period
example_nyc_data(type = "cases")
A string: "cases"
or "deaths"
or "RR"
A tibble with two variables: date
, a vector of Date
objects, and observation
, a vector of doubles.
cfg <- covidestim(ndays = 120, region = 'New York') +
input_cases(example_nyc_data('cases')) +
input_deaths(example_nyc_data('deaths')) +
input_vaccines(example_nyc_data('RR'))
if (FALSE) {
result <- run(cfg)
}