Description Usage Arguments Examples
View source: R/plotting_functions.R
This function prepares the empirical data. Depending on source it will call functions to prepare the csse or usafacts data
1 2 3 4 5 6 | prepare_empirical_data(
empirical_source,
csse_repo_path = NULL,
filterdates = c("2020-03-01", "2030-03-01"),
updategit = F
)
|
empirical_source |
source of empirical data.. must be 'csse','usafacts' or a custom file path |
csse_repo_path |
defaults to NULL, otherwise a path to local clone of JHU CSSE repo |
filterdates |
defaults to all dates forward from March 1st, 2020, but can be specifed with a vector of dates |
updategit |
defaults to FALSE; should the local csse git repo be queried for possible update? |
1 2 | prepare_empirical_data("usafacts", "jhudata/", c("2020-03-01", "2020-06-01"))
prepare_empirical_data("my_empirical_data.csv", filterdates = c("2020-03-01", "2020-06-01"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.