metar_get {pmetar} | R Documentation |
Get a current METAR report for an airport.
Description
A current METAR weather report is downloaded from the web page of NOAA National Weather Service https://aviationweather.gov/data/metar/ based on an airport four letters ICAO code, International Civil Aviation Organization, or three letters IATA code, International Air Transport Association.
Usage
metar_get(airport = "EPWA")
Arguments
airport |
character; ICAO or an IATA airport code. |
Value
a character vector with a current METAR weather report.
Examples
metar_get("EPWA")
metar_get("CYUL")
metar_get("MAD")
metar_get("WAW")
[Package pmetar version 0.5.0 Index]