get_observed_by_location_target_end_date: get observed cases and/or deaths

View source: R/truth.R

get_observed_by_location_target_end_dateR Documentation

get observed cases and/or deaths

Description

get observed cases and/or deaths

Usage

get_observed_by_location_target_end_date(as_of, targets, spatial_resolution)

Arguments

as_of

character date with format 'yyyy-mm-dd'; indicates date for which retrieved truth data should be current

targets

character vector of targets to retrieve, for example c('1 wk ahead cum death', '2 wk ahead cum death')

spatial_resolution

character vector specifying spatial unit types to include: 'county', 'state', 'national', and/or 'euro_countries'

Value

data frame with columns location, base_target, target_end_date, and observed


reichlab/covidEnsembles documentation built on Jan. 31, 2024, 7:21 p.m.