get_oag_travel_fulldata: Get OAG travel data

Description Usage Arguments

View source: R/DataUtils.R

Description

Get subsetted and cleaned OAG data for a specific destination, using the full OAG data set

Usage

1
2
3
4
5
6
7
8
get_oag_travel_fulldata(
  destination = c("CA"),
  destination_type = "state",
  dest_0 = NULL,
  dest_0_type = NULL,
  dest_aggr_level = "city",
  oag_file = "data/complete_OAG_data.csv"
)

Arguments

destination

destination of interest; can be a vector.

destination_type

options: "airport", "city", "state", "country"

dest_0

default=NULL; change to specify higher level destination (i.e. dest_0="USA")

dest_0_type

default=NULL; must specify if specifying a 'dest_0' option.

dest_aggr_level

level to which travel will be aggregated for destination. Includes "airport", "city", "state", "country", "metro" (only available for CA currently)


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