Learn R Programming

FlowScreen (version 1.2.6)

cania.sub.ts: Subset of the Caniapiscau River Daily Flows

Description

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.

Usage

data(caniapiscau)

Arguments

Format

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

Examples

Run this code
# NOT RUN {
# 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))
# }
# NOT RUN {
# example use of example subset flow series
data(cania.sub.ts)
head(cania.sub.ts)
str(cania.sub.ts)
# }

Run the code above in your browser using DataLab