airports_near_airport {airportr} | R Documentation |
Lookup airports nearby other airports
Description
A function that returns details of airports within a user-specified distance of a given airport.
Usage
airports_near_airport(input, distance = 100)
Arguments
input |
An airport name, IATA code, or ICAO code. Input type will be guessed unless explicitly defined |
distance |
Distance boundary for nearest airport lookup in kilometres |
Value
A tibble of airports that fall within the specified range of input airport
Examples
airports_near_airport("YVR")
# Or with a user specified distance in kilometres
airports_near_airport("YVR", distance = 200)
[Package airportr version 0.1.3 Index]