plot: Plot historical and realtime data

Description Usage Arguments Methods (by class) Examples

Description

This method plots either daily time series data from HYDAT or realtime data from the datamart. These plots are intended to be convenient and quick methods to visualize hydrometric data.

Usage

1
2
3
4
5
## S3 method for class 'hy'
plot(x = NULL, ...)

## S3 method for class 'realtime'
plot(x = NULL, Parameter = c("Flow", "Level"), ...)

Arguments

x

Object created by either a hy_daily_* or realtime_dd data retrieval function

...

passed to plot()

Parameter

Parameter of interest. Either "Flow" or "Level". Defaults to "Flow".

Methods (by class)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
# One station
fraser <- hy_daily_flows("08MF005")
plot(fraser)

## End(Not run)

## Not run: 
# One station
fraser_realtime <- realtime_dd("08MF005")
plot(fraser_realtime)

## End(Not run)

ropensci/tidyhydat documentation built on Sept. 20, 2021, 11:50 a.m.