get_incidence_fits: Get incidence data from JHUCSSE

Description Usage Arguments

View source: R/DataUtils.R

Description

Get incidence data from JHUCSSE

Usage

1
2
3
4
5
6
7
8
get_incidence_fits(
  aggr_level = "UID",
  first_date = ISOdate(2019, 12, 1),
  last_date = Sys.time(),
  case_data_dir = "data/case_data",
  save_raw_data = TRUE,
  us_data_only = FALSE
)

Arguments

aggr_level

"UID", "source", level at which to calculate the cumulative and incident cases. with UID, unassigned locations are dropped; "source" refers to US state, Chinese province, and national otherwise.

case_data_dir

directory where case data is being saved

save_raw_data

whether to save raw data locally

us_data_only

whether to only pull US data

check_saved_data

whether to check locally saved github data


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