Description Usage Arguments Details Value Examples
Read in cases data from JHU COVID-19 case respository
1 | get_jhu_ts(write = FALSE, filepath = NULL)
|
write |
If TRUE, writes output as csv to filepath. Defaults to FALSE |
filepath |
Provide filename and path to write to. |
Downloads time series of JHU Corona virus data. Data source: https://github.com/CSSEGISandData/COVID-19. Code adapted from: https://github.com/RamiKrispin/coronavirus. If write = TRUE and fielpath = NULL, a covid19.csv will be written to the current directory
Long format database of time cases, recoveries, deaths
1 2 | cases <- get_jhu_ts()
cases <- get_jhu_ts(write = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.