Returns a tibble of NYC case and death data from February 29, 2020 to June 27, 2020. Only one type of data will be returned at a time.

example_nyc_data(type = "cases")

Arguments

type

A string: "cases" or "deaths"

Value

A tibble with two variables: date, a vector of Date objects, and observation, a vector of doubles.

Examples

cfg <- covidestim(ndays = 120, region = 'New York') + input_cases(example_nyc_data('cases')) + input_deaths(example_nyc_data('deaths')) if (FALSE) { result <- run(cfg) }