metar_get: Get a current METAR report for an airport.

View source: R/metar_get.R

metar_getR 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")


prcwiek/pmetar documentation built on Oct. 28, 2023, 1:12 a.m.