Get subsetted and cleaned OAG data for a specific destination, using the full OAG data set
1 2 3 4 5 6 | get_oag_travel(
destination = c("CA"),
destination_type = "state",
dest_country = "USA",
dest_aggr_level = "city"
)
|
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.