getAirportMetadata: Retrieve metadata for a specified airport

Description Usage Arguments Value References Examples

View source: R/openSkies_getMetadataFunctions.R

Description

Retrieves the available metadata for a specified airport. These include its IATA code, common name and location, among others. A single airport must be specified using its ICAO code.

Usage

1

Arguments

airport

string with the ICAO 4-letter code of an airport (for example, \"LEZL\" for Sevilla Airport.

Value

An object of class openSkiesAirport. See the openSkiesAirport documentation for details on the fields for the class.

References

https://en.wikipedia.org/wiki/List_of_airports_by_IATA_and_ICAO_code

Examples

1
2
3
4
5
# Obtain metadata for the airport with ICAO code LEZL

if(interactive()){
getAirportMetadata("LEZL")
}

openSkies documentation built on April 17, 2021, 9:06 a.m.