Description Usage Arguments Value Examples
Imports data from public github repo on Covid cases by date and location (with latitude and longitude), reformats, cleans, and merges with population data
1 | importCovidData(from_web = TRUE)
|
from_web |
defaults to TRUE: whether to import from the web or from the package |
Output is a dataframe with columns for disease (covid), province (location specific), region (location general), lat (latitude), long (longitude), date, value, value_type, pop_2018
1 2 | importCovidData() # defaults to from_web = TRUE
importCovidData(from_web = FALSE) # returns historical subset of data
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.