Description Usage Arguments Value Examples
View source: R/airport_lookups.R
Returns airport location in longitude and latitude coordinates given an input IATA code, ICAO code, or airport name.
1 | airport_location(input, input_type)
|
input |
An airport name, IATA code, or ICAO code. Input type will be guessed unless #' explicitly defined |
input_type |
One of "name", "IATA", or "ICAO". Function will attempt to guess type if not supplied |
List of longitude and latitude coordinates
1 2 | airport_location("YVR","IATA")
#' airport_location("Vancouver International Airport","name")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.