get_oag_travel: 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
get_oag_travel(
  destination = c("CA"),
  destination_type = "state",
  dest_country = "USA",
  dest_aggr_level = "city"
)

Arguments

destination

destination of interest; can be a vector.

destination_type

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

dest_aggr_level

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

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.


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