tsMOPEX: Interface for the MOPEX database of Daily Time Series

Description Usage Arguments Value Author(s) Examples

View source: R/MOPEX.R

Description

This function extract the dataset containing daily rainfall and streamflow discharge at one of the MOPEX locations.

Usage

1
tsMOPEX(stationID, plotOption = FALSE, timeExtent = NULL)

Arguments

stationID

hydrometric reference number (string)

plotOption

boolean to define whether to plot the results. By default this is set to TRUE.

timeExtent

is a vector of dates and times for which the data should be retrieved

Value

The function returns a data frame containing 2 time series (as zoo objects): "P" (precipitation) and "Q" (discharge).

Author(s)

Claudia Vitolo

Examples

1
2
3
4
5
6
## Not run: 
  stationID <- catalogueMOPEX()$stationID[1]
  BroadRiver <- tsMOPEX(stationID = stationID)
  BroadRiver <- tsMOPEX(stationID = stationID, plotOption = TRUE)

## End(Not run)

hddtools documentation built on May 19, 2017, 8:27 p.m.

Search within the hddtools package
Search all R packages, documentation and source code