View source: R/get_time_series_data_link.R
get_time_series_data_link | R Documentation |
Assemble a data frame that stores all links to JHU data series files and download truth data issued in the most recent week/day.
get_time_series_data_link(
measure,
geography = c("US", "global"),
first_page_only = FALSE,
download_files = FALSE,
download_recent = TRUE
)
measure |
string specifying measure of covid dynamics: one of 'deaths' or 'cases' |
geography |
character, which data to read. Default is "US", other option is "global" |
first_page_only |
boolean specify whether to only scrape the first page of github repo. Default to FALSE that scrapes all history |
download_files |
boolean specify whether to download truth files after scraping file links. Default to FALSE |
download_recent |
boolean specify whether to download the most recent truth file only or all truth files in the most recent week. Default to TRUE to download the most recent file. |
a data frame with columns date and file_links
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.