Description Usage Arguments Value Note See Also Examples
View source: R/Real_Time_Data.r
Gets near real-time (within 6 hours) hydrometric data for the past 30 days for a particular hydrometric station operated by the National Hydrological Service of Canada, Water Survey Division.
1 2 | RealTimeData(base_url = "http://dd.weather.gc.ca/hydrometric", prov_terr_loc,
station_number)
|
base_url |
Base URL to access the data mart |
prov_terr_loc |
Two-digit provincial or territorial abbreviation in which the station is located (e.g., "BC") |
station_number |
A seven-digit station identifier (e.g., "08MF005") |
A data frame (station_number, date_time, hg, hg_grade, hg_sym, hg_code, qr, qr_grade, qr_sym, qr_code)
Returned date/times are in Universal Time Coordinated (UTC).
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.