find_station: Find a Historical Climate Data station

find_stationR Documentation

Find a Historical Climate Data station

Description

Search for stations in the Historical Climate Data inventory by name.

Usage

find_station(name = NULL, ignore.case = TRUE, glob = FALSE, ...)

Arguments

name

character; character string or a regular expression to be matched against known station names. See grep for details.

ignore.case

logical; by default the search for station names is not case-sensitive.

glob

logical; use wildcards (e.g. "yell*") in the name. See link{glob2rx} for details.

...

Additional arguments passed to grep.

Value

An object of class "hcd_station_list", which is a "tbl_df", containing details of any matching HCD stations.

Author(s)

Gavin L. Simpson

Examples

find_station("Regina")

find_station("Yellowknife")

find_station("Yell*", glob = TRUE)

gavinsimpson/canadaHCD documentation built on Sept. 23, 2023, 3:13 a.m.