Description Usage Arguments Examples
View source: R/repo_pull_functions.R
This function converts a given custom repo as csv file into the structure we nee
1 | prepare_custom_repo(filename)
|
filename |
path to custome repo csv.. must have specific structure and headers: Structure of csv must be seven columns only; one row per date and FIPS. The seven columns must represent the following quantities, in order: Date, cumulative confirmed cases (up to that date), cumulative deaths (up to that date), confirmed cases (on that date), deaths (on that date), FIPS code, and two-digit state/territory abbreviation. The column header names are not important, but the order is critical. |
1 | prepare_custom_rep("myfilename.csv")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.