powered by
A function that returns details of airports within a user-specified distance of a given airport.
airports_near_airport(input, distance = 100)
An airport name, IATA code, or ICAO code. Input type will be guessed unless explicitly defined
Distance boundary for nearest airport lookup in kilometres
A tibble of airports that fall within the specified range of input airport
# NOT RUN { airports_near_airport("YVR") # Or with a user specified distance in kilometres airports_near_airport("YVR", distance = 200) # }
Run the code above in your browser using DataLab