Converts IATA airport codes to city names using the airportr package. Falls back to the provided fallback value if conversion fails or package is not available.
Examples
airport_to_city("JFK")
#> [1] "New York"
airport_to_city(c("JFK", "LGA", "EWR"))
#> [1] "New York" "New York" "Newark"
