Learn R Programming

hddtools (version 0.3.0)

tsData60UK: Interface for the Data60UK database of Daily Time Series

Description

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

Usage

tsData60UK(hydroRefNumber, plotOption = FALSE, timeExtent = NULL)

Arguments

hydroRefNumber
hydrometric reference number
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).

Examples

Run this code
# tsData60UK(39015)

Run the code above in your browser using DataLab