Description Usage Arguments Examples
etl_extract
obtains COVID-19 daily reports uploaded by CSSEGISandData on Github.
Arguments, such as month, day, and year let users obtain data for a specified time period.
When no arguments are specified then all available data is scraped from github. The downloaded
datsets are then saved as csvs in the raw folder within the directory that the user specified.
If no directory was specified then the files are saved in the raw folder within the temp
directory that was created.
1 2 | ## S3 method for class 'etl_covid'
etl_extract(obj, month, day, year, ...)
|
obj |
an |
month |
numeric vector specifying month(s) |
day |
numeric vector specifying day(s) |
year |
numeric vector specifying year(s) |
... |
arguments passed to methods |
1 2 3 4 5 6 | covid_dat <- etl::etl("covid")
## Not run:
covid_dat %>%
etl_extract(month = 4, day = 1:2, year = 2020)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.