The riem package allows to get weather data from ASOS stations (airports) via the awesome website of the Iowa Environment Mesonet.

Installation

Install the package with:

install.packages("riem")

Or install the development version using devtools with:

library("devtools")
install_github("ropenscilabs/riem")

Get available networks

library("riem")
riem_networks()

Get available stations for one network

riem_stations(network = "IN__ASOS")

Get measures for one station

Possible variables are (copied from here, see also the ASOS user guide)

measures <- riem_measures(station = "VOHY", date_start = "2000-01-01", date_end = "2016-04-22")
head(measures)

For conversion of wind speed or temperature into other units, see this package.



ropensci/riem documentation built on April 9, 2024, 8:42 p.m.