pmetar ======
knitr::opts_chunk$set( warning = FALSE, message = FALSE, collapse = TRUE, comment = "#>" )
Package allows to download current and historical METAR weather reports and decode basic parameters.
The main functions scrap data from the below web pages:
For current reports, the function metar_get:
Aviation Weather Center https://aviationweather.gov/data/metar/
For historical reports, the function metar_get_historical:
Iowa Environmental Mesonet web page of Iowa State University ASOS-AWOS-METAR http://mesonet.agron.iastate.edu/AWOS/
Please take into consideration that the http://www.ogimet.com/ can block too frequent requests for data due to the server overload.
Information about the locations of the METAR stations / ariports were taken from two sources:
The both above data sources are in the public domain.
CRAN version
install.packages("pmetar")
Get the development version 0.4.0.2 from github:
# install.packages("devtools") devtools::install_github("prcwiek/pmetar")
library('pmetar')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.