This function extract the dataset containing daily rainfall and streamflow discharge at one of the MOPEX locations.
tsSEPA(stationID, plotOption = FALSE, timeExtent = NULL)
hydrometric reference number (string)
boolean to define whether to plot the results. By default this is set to TRUE.
is a vector of dates and times for which the data should be retrieved
The function returns river level data in a zoo object.
# NOT RUN {
sampleID <- catalogueSEPA()$stationId[1]
sampleTS <- tsSEPA(stationID = sampleID, plotOption = TRUE)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab