metar_location {pmetar}R Documentation

Get approximated airport location.

Description

Find approximated latitude, longitude and elevation of an airport according to IATA, International Air Transport Association, or ICAO, International Civil Aviation Organization, airport code. Two source of information about airports are used. First the function search in the list of airports available at https://ourairports.com/data/ created by David Megginson. If an airport cannot be found there, the second list of airports is searched, from https://weather.ral.ucar.edu/surface/stations.txt prepared by Greg Thompson from
National Weather Service NCAR/RAP.

Usage

metar_location(x = "EPWA")

Arguments

x

character vector; an airport ICAO four letters code or an IATA three letters code.

Value

a tibble with columns with an airport information as below:

Examples

metar_location("EPWA")
metar_location("CYUL")
metar_location("LEMD")
metar_location("NCRK")
metar_location("WAW")
metar_location("FRA")


[Package pmetar version 0.5.0 Index]