Learn R Programming

pmetar (version 0.5.1)

metar_day: Get day of month.

Description

Extract a day of a month from METAR weather report.

Usage

metar_day(x)

Value

a numeric vector with a day of a month.

Arguments

x

character vector; a METAR weather report or reports.

Examples

Run this code
metar_day("EPWA 281830Z 18009KT 140V200 9999 SCT037 03/M01 Q1008 NOSIG")
metar_day("CYUL 281800Z 13008KT 30SM BKN240 01/M06 A3005 RMK CI5 SLP180")
metar_day("201711271930 METAR LEMD 271930Z 02002KT CAVOK 04/M03 Q1025")

Run the code above in your browser using DataLab