Description Usage Format Source Examples
This data set includes a subset of the mean daily streamflow for the Caniapiscau Rivers. It includes observations from 1970-1995 (hydrologic years). The code used to subset and modify the original data is shown below.
1 |
Formatted as a data.frame with the following columns:
ID - Water Survey Canada Station ID
Date - Date of observation, formatted as YYYY-mm-dd
Flow - Mean daily streamflow, measured in m3/s
Code - Data Quality Code
Agency - Source Agency (Water Survey Canada)
Year - Calendar year
month - Calendar month
doy - Calendar day of year
hyear - Hydrologic year
hmonth - Hydrologic month
hdoy - Hydrologic day of year
Environment Canada. 2010. EC Data Explorer V1.2.30.
Water Survey of Canada V1.2.30 https://www.ec.gc.ca/rhc-wsc/
1 2 3 4 5 6 7 8 9 10 11 | # Code used to subset and modify original Caniapiscau series:
## Not run:
data(caniapiscau)
cania.ts <- create.ts(caniapiscau, hyrstart=3)
cania.sub.ts <- subset(cania.ts, cania.ts$hyear %in% c(1970:1995))
## End(Not run)
# example use of example subset flow series
data(cania.sub.ts)
head(cania.sub.ts)
str(cania.sub.ts)
|
ID Date Flow Code Agency year month doy hyear hmonth hdoy
5784 03LF002 1970-03-01 515 B WSC 1970 3 60 1970 1 0
5785 03LF002 1970-03-02 513 B WSC 1970 3 61 1970 1 1
5786 03LF002 1970-03-03 510 B WSC 1970 3 62 1970 1 2
5787 03LF002 1970-03-04 510 B WSC 1970 3 63 1970 1 3
5788 03LF002 1970-03-05 507 B WSC 1970 3 64 1970 1 4
5789 03LF002 1970-03-06 504 B WSC 1970 3 65 1970 1 5
'data.frame': 9497 obs. of 11 variables:
$ ID : Factor w/ 1 level "03LF002": 1 1 1 1 1 1 1 1 1 1 ...
$ Date : Date, format: "1970-03-01" "1970-03-02" ...
$ Flow : num 515 513 510 510 507 504 501 498 496 490 ...
$ Code : Factor w/ 4 levels "","A","B","E": 3 3 3 3 3 3 3 3 3 3 ...
$ Agency: Factor w/ 1 level "WSC": 1 1 1 1 1 1 1 1 1 1 ...
$ year : num 1970 1970 1970 1970 1970 1970 1970 1970 1970 1970 ...
$ month : num 3 3 3 3 3 3 3 3 3 3 ...
$ doy : num 60 61 62 63 64 65 66 67 68 69 ...
$ hyear : num 1970 1970 1970 1970 1970 1970 1970 1970 1970 1970 ...
$ hmonth: num 1 1 1 1 1 1 1 1 1 1 ...
$ hdoy : num 0 1 2 3 4 5 6 7 8 9 ...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.