powered by
This function extract the dataset containing daily rainfall and streamflow discharge at one of the Data60UK locations.
tsData60UK(stationID, plotOption = FALSE, twindow = NULL)
hydrometric reference number (string)
boolean to define whether to plot the results. By default this is set to FALSE.
is a vector of dates and times for which the data should be retrieved
The function returns a data frame containing 2 time series (as zoo objects): "P" (precipitation) and "Q" (discharge).
# NOT RUN { stationID <- catalogueData60UK()$stationID[1] Morwick <- tsData60UK(stationID = stationID) Morwick <- tsData60UK(stationID = stationID, plotOption = TRUE) # } # NOT RUN { # }
Run the code above in your browser using DataLab