| openSkiesRoute {openSkies} | R Documentation |
An R6Class object representing a flight route
Description
R6Class object representing a flight route, usually operated by
a commercial airline. Contains information about the callsign under which the
route is operated, the operator itself and the airports of origin and
destination. New instances can be manually created by providing values for at
least the fields call_sign, origin_airport and destination_airport.
Alternatively, getRouteMetadata will return an openSkiesRoute
object corresponding to the route with the provided callsign.
Usage
openSkiesRoute
Fields
call_signString with callsign of the route
origin_airportString with the ICAO 4-letter code of the airport of origin
destination_airportString with the ICAO 4-letter code of the destination airport
operator_IATAString with the IATA code for the operator of the route
flight_numberString with the flight number for the route. The callsign is usually composed of an airline identifier and the flight number
Examples
# Create an openSkiesRoute object corresponding to the American Airlines route
# with callsign AAL683
if(interactive()){
test_route <- getRouteMetadata("AAL683")
test_route
}