get_observed_by_location_target_end_date | R Documentation |
get observed cases and/or deaths
get_observed_by_location_target_end_date(as_of, targets, spatial_resolution)
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' |
data frame with columns location, base_target, target_end_date, and observed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.