Learn R Programming

hail (version 0.1.1)

hail_hydra: Read HYDRA data

Description

hail_hydra reads hourly rainfall data from the HYDRA network of rain gages around Portland, Oregon. This data is preliminary and raw, meaning that it is likely to contain missing or corrupt values; efforts have been made to ensure such values come out as NAs.

Usage

hail_hydra(stations = "all")

Arguments

stations
a vector of station names you want the information for; these values can be retrieved from the hydra_data dataset. By default, the value is "all", meaning data is retrieved for every station.

Value

a data.frame containing columns representing the date, daily total rainfall inches, station, and hourly breakdowns.

Examples

Run this code
# Simple exmaple
walmart_data <- hail_hydra("Walmart Eco Roof")

Run the code above in your browser using DataLab