Learn R Programming

openSkies (version 1.0.0)

getRouteMetadata: Retrieve metadata for a specified route

Description

Retrieves the available metadata for a specified flight route. These include the airports of origin and destination, the operator IATA code and the flight number.

Usage

getRouteMetadata(route)

Arguments

route

string with the call sign of a route (for example, "AAL683" for American Airlines flight number 683.

Value

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

References

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

Examples

Run this code
# NOT RUN {
# Obtain metadata for the route with call sign AAL683

if(interactive()){
getRouteMetadata("AAL683")
}
# }

Run the code above in your browser using DataLab