Description Usage Arguments Value
Pulls the JHUCSSE total case count data up to current date from GitHub. This version checks what is already saved, and downloads those that are not.
1 2 3 4 5 6 7 | get_JHUCSSE_data(
case_data_dir = "data/case_data",
last_date = Sys.time(),
save_data = FALSE,
us_data_only = TRUE,
append_wiki = TRUE
)
|
case_data_dir |
directory where daily reported case data files are stored by the function. |
last_date |
last date for which to include case data |
save_data |
whether to save raw data locally |
us_data_only |
whether to only pull US data |
append_wiki |
TRUE/FALSE whether to append the data from wikipedia for early china |
NA (saves a CSV of the current data to the data directory)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.