Learn R Programming

SunsetTSA (version 1.0.0)

airport_codes_by_city: Get airport codes by city

Description

Get airport codes by city

Usage

airport_codes_by_city(the_city, the_state = "")

Arguments

the_city

string, name of US city

the_state

string, optional, two-letter code for US state

Value

data frame with Code, City, State, and Airport

Examples

Run this code
# NOT RUN {
airport_codes_by_city("New York")
airport_codes_by_city("Greenville", "NC")
# }

Run the code above in your browser using DataLab