| openSkiesAirport {openSkies} | R Documentation |
An R6Class object representing an airport
Description
R6Class object representing an airport. Contains information
about the name of the airport, its IATA and ICAO codes, and its location.
New instances can be manually created by providing values for at least the
fields name, city, country, longitude and
latitude. Alternatively, getAirportMetadata will return an
openSkiesAirport object corresponding to the airport with the
provided ICAO code.
Usage
openSkiesAirport
Fields
nameString with the name of the airport
ICAOString with the ICAO code of the airport
IATAString with the IATA code of the airport
longitudeLongitude of the position of the airport
latitudeLatitude of the position of the airport
altitudeAltitude of the position of the airport
cityString with the name of the city where the airport is located
municipalityString with the ISO 3166-2 code where the airport is located
regionString with the name of the region where the airport is located
countryString with the ISO 3166-1 alpha-2 code of the country where the airport is located
continentString with the ISO 3166-1 alpha-2 code of the continent where the airport is located
typeString with information about the type of airport
websiteString with the URL for the website of the airport
wikipedia_entryString with the URL for the Wikipedia entry of the airport
reliable_positionLogical value indicating if the position of the airport is reliable
GPS_codeString with the GPS code of the airport
Examples
# Create an openSkiesAirport object corresponding to Sevilla Airport
if(interactive()){
test_airport <- getAirportMetadata("LEZL")
test_airport
}