Extract station information from the HYDAT databaseSource:
Provides wrapper to turn the hy_stations table in HYDAT into a tidy data frame of station information.
prov_terr_state_loc can both be supplied. If both are omitted all values from the
hy_stations table are returned. This
is the entry point for most analyses is tidyhydat as establish the stations for consideration is likely the first step in many
A tibble with 15 variables:
Unique 7 digit Water Survey of Canada station number
Official name for station identification
The province, territory or state in which the station is located
The identifier of the regional office responsible for the station. Links to hy_reg_office_list
Current status of discharge or level monitoring in the hydrometric network
Current status of sediment monitoring in the hydrometric network
North-South Coordinates of the gauging station in decimal degrees
East-West Coordinates of the gauging station in decimal degrees
The total surface area that drains to the gauge site (km^2)
The portion of the drainage basin that contributes runoff to the gauge site, calculated by subtracting any noncontributing portion from the gross drainage area (km^2)
Logical. Reference Hydrometric Basin Network station. The Reference Hydrometric Basin Network (RHBN) is a sub-set of the national network that has been identified for use in the detection, monitoring, and assessment of climate change.
Logical. Indicates if a station has the capacity to deliver data in real-time or near real-time
Unique ID of an agency that contributes data to the HYDAT database. The agency is non-WSC and non WSC funded
Unique ID of an agency that operates a hydrometric station
Unique ID for a datum
A seven digit Water Survey of Canada station number. If this argument is omitted, the value of
The path to the hydat database or NULL to use the default location used by download_hydat. It is also possible to pass in an existing src_sqlite such that the database only needs to be opened once per user-level call.
Province, state or territory. If this argument is omitted, the value of
station_numberis returned. See
unique(allstations$prov_terr_state_loc). Will also accept
CAto return only Canadian stations.
Other HYDAT functions: