
Download historical flow and level data from the ECCC web service
Source:R/historical-webservice.R
ws_daily_flows.RdFunctions to retrieve historical flow and levels data from ECCC web service. This data is
the same as HYDAT data but provides the convenience of not having to download
the HYDAT database. This function is useful when a smaller amount of data is needed. If
you need lots of data, consider using HYDAT and the hy_ family of functions
Usage
ws_daily_flows(station_number, start_date = NULL, end_date = NULL)
ws_daily_levels(station_number, start_date = NULL, end_date = NULL)Format
A tibble with 6 variables:
- STATION_NUMBER
Unique 7 digit Water Survey of Canada station number
- Date
Observation date and time. Formatted as a POSIXct class as UTC for consistency.
- Parameter
Type of parameter
- Value
Value of the measurement.
- Symbol
future use