hcd_monthly: Download monthly Historical Climate Data records

hcd_monthlyR Documentation

Download monthly Historical Climate Data records

Description

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

Usage

hcd_monthly(station, collapse = TRUE, progress = TRUE, ...)

Arguments

station

Character; one or more HCD station IDs.

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 Sept. 23, 2023, 3:13 a.m.