southAfrica | R Documentation |
Retrieve South African gauge data
southAfrica(
site,
variable = "stage",
start_date = NULL,
end_date = NULL,
sites = FALSE,
...
)
site |
South African gauge number |
variable |
Character. Either |
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. |
data frame of discharge time-series
## Not run:
site <- "X3H023"
start_date <- as.Date("2000-01-01")
end_date <- as.Date("2010-01-01")
x <- southAfrica(site, "stage", start_date, end_date)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.