read_ec_climate_hourly: Read Environment Canada Climate CSVs

Description Usage Arguments Value Examples

View source: R/ec-climate.R

Description

Read Environment Canada Climate CSVs

Usage

1
2
3
read_ec_climate_hourly(file, pb = NULL, utc_offset = 0)

read_ec_climate_hourly_vector(file_vector, utc_offset = 0)

Arguments

file

A file, URL, or connection. Files ending in .gz, .bz2, .xz, or .zip will be automatically uncompressed; URLs will be automatically downloaded. See readr::read_lines() for a full description of how this parameter is interpreted.

pb

A progress bar or NULL.

utc_offset

Environment Canada provides dates and times in "local standard time", which has a fixed UTC offset (i.e., does not observe daylight savings time).

file_vector

A vector of files or URLs

Value

A tibble::tibble()

Examples

1
2
3
ec_file <- bs_example("met/ec-climate_hourly_54199_2019_08.csv")
read_ec_climate_hourly(ec_file)
read_ec_climate_hourly_vector(ec_file)

paleolimbot/bsrto documentation built on Dec. 12, 2021, 5:44 a.m.