Description Usage Arguments Details Value Examples
Read in daily case data from JHU COVID-19 daily reports repository
1 | get_jhu_daily(download_date = NULL, write = FALSE, filepath = NULL)
|
download_date |
Default of NULL gives today's date, otherwise specify as "dd-mm-yyyy" |
write |
If TRUE, writes output as csv to filepath. Defaults to FALSE |
filepath |
Provide filename and path to write to. |
Downloads daily data from JHU Corona virus repo (master branch). Data source: https://github.com/CSSEGISandData/COVID-19. If write = TRUE and fielpath = NULL, a covid19_daily_reports.csv will be written to the current directory.
Long format database of time cases, recoveries, deaths
1 2 | cases <- get_jhu_daily()
cases <- get_jhu_daily(write = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.