Learn R Programming

RivRetrieve (version 0.1.8)

ireland: ireland

Description

Retrieve Ireland gauge data

Usage

ireland(site, variable, start_date = NULL, end_date = NULL, sites = FALSE, ...)

Value

data frame of discharge time-series

Arguments

site

Ireland gauge number

variable

Character. Either stage or discharge.

start_date

Character. Optional start date with format YYYY-MM-DD. Default is 1900-01-01.

end_date

Character. End date with format YYYY-MM-DD. Default is the current date.

sites

Logical. If TRUE, returns a list of measurement sites.

...

Additional arguments. None implemented.

Examples

Run this code
if (FALSE) {
start_date <- as.Date("1968-01-01")
end_date <- as.Date("1970-12-31")
df <- ireland('25014',"discharge", start_date, end_date)
plot(df$Date, df$Q)
}

Run the code above in your browser using DataLab