update_JHUCSSE_github_data: Pull JHU CSSE GitHub data

Description Usage Arguments Value

View source: R/DataUtils.R

Description

Pulls the JHUCSSE total case count data up to current date from GitHub. This version checks what is already saved, and downloads those that are not.

Usage

1
2
3
4
5
6
update_JHUCSSE_github_data(
  case_data_dir = "data/case_data",
  last_date = Sys.time(),
  check_saved_data = FALSE,
  save_data = FALSE
)

Arguments

case_data_dir

directory where daily reported case data files are stored by the function.

last_date

last date for which to include case data

check_saved_data

whether to check for existing saved case data

save_data

whether to save the cleaned and combined data

Value

NA (saves a CSV of the current data to the data directory)


HopkinsIDD/covidImportation documentation built on Sept. 14, 2020, 2:43 p.m.