Get incidence data from JHUCSSE
1 2 3 4 5 6 7 8 | get_incidence_fits(
aggr_level = "UID",
first_date = ISOdate(2019, 12, 1),
last_date = Sys.time(),
case_data_dir = "data/case_data",
save_raw_data = TRUE,
us_data_only = FALSE
)
|
aggr_level |
"UID", "source", level at which to calculate the cumulative and incident cases. with UID, unassigned locations are dropped; "source" refers to US state, Chinese province, and national otherwise. |
case_data_dir |
directory where case data is being saved |
save_raw_data |
whether to save raw data locally |
us_data_only |
whether to only pull US data |
check_saved_data |
whether to check locally saved github data |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.