Get subsetted and cleaned OAG data for a specific destination, using the full OAG data set
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"
)
|
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) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.