hcd_hourly: Download hourly Historical Climate Data records

Description Usage Arguments Value Author(s)

Description

Hourly Historical Climate Data for stated station IDs are downloaded from the Government of Canada's Historical Climate Data website.

Usage

1
hcd_hourly(station, year, month, collapse = TRUE, progress = TRUE, ...)

Arguments

station

Character or numeric; one or more HCD station IDs.

year

numeric; vector of one or more years

month

numeric; vector of one or months

collapse

Logical; if TRUE and multiple stations are requested a single data frame is returned, formed by row-binding the data for each station and prepending a station identifier variable.

progress

Logical; if TRUE, a bar is shown indicating progress in downloading station data from the HCD website.

...

Further arguments passed to read_hcd.

Value

A tbl_df containing the requested monthly climate data

Author(s)

Gavin L. Simpson


gavinsimpson/canadaHCD documentation built on Nov. 8, 2019, 3:25 a.m.