anyflights (version 0.1.0)

get_airlines: Generate an airlines dataset

Description

Please note that, even with a strong internet connection, this function may take several minutes to download relevant data.

Usage

get_airlines(dir)

Arguments

dir

A character string---the folder for the dataset to be saved in

Value

A data frame with ~12 rows and 2 variables:

carrier

Two letter abbreviation

name

Full name

See Also

get_flights for flight data, get_weather for weather data, get_airports for airport data, and anyflights for a wrapper function

Examples

Run this code
# NOT RUN {
get_airlines(dir = tempdir())
# }

Run the code above in your browser using DataCamp Workspace