powered by
Returns airport location in longitude and latitude coordinates given an input IATA code, ICAO code, or airport name.
airport_location(input, input_type)
An airport name, IATA code, or ICAO code. Input type will be guessed unless #' explicitly defined
One of "name", "IATA", or "ICAO". Function will attempt to guess type if not supplied
List of longitude and latitude coordinates
# NOT RUN { airport_location("YVR","IATA") #' airport_location("Vancouver International Airport","name") # }
Run the code above in your browser using DataLab