eccc_swob_rt: eccc_swob_rt

Description Usage Arguments Value Examples

View source: R/swob.R

Description

Get real-time surface weather observations (SWOB)

Usage

1
eccc_swob_rt(station_number, start_date, end_date, query)

Arguments

station_number

MSC climate station identifier, see eccc_clim_stns

start_date

Minimum date for values. Data goes back to a maximum of 30 days

end_date

Maximum date for values. Data goes back to a maximum of 30 days

query

(Optional) List of queryables. This allows for more complicated queries. See eccc_queryables("swob-realtime")

Value

tibble with SWOB data. Note that this table contains a large number of columns (>300).

Examples

1
2
3
4
5
eccc_swob_rt(
  station_number = "1192948",
  start_date = Sys.Date() - 2,
  end_date = Sys.Date()
)

rywhale/ecccgeometR documentation built on Dec. 22, 2021, 8:19 p.m.