tsData60UK: Interface for the Data60UK database of Daily Time Series

Description Usage Arguments Value Author(s) Examples

Description

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

Usage

1
tsData60UK(stationID, plotOption = FALSE, twindow = NULL)

Arguments

stationID

hydrometric reference number (string)

plotOption

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

twindow

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 <- catalogueData60UK()$stationID[1]
  Morwick <- tsData60UK(stationID = stationID)
  Morwick <- tsData60UK(stationID = stationID, plotOption = TRUE)

## End(Not run)


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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.