# search Rain gauges by Lat and Lon
if (FALSE) {
GetDataSEPA(Lat = 56, Lon = -4, Type = "Rain")
}
# Get daily rain from the Bannockburn station between two dates
if (FALSE) {
bannockburn <- GetDataSEPA(
StationID = "36494",
From = "1998-10-01", To = "1998-10-31"
)
}
# Inspect the first few rows and plot the data
if (FALSE) {
head(bannockburn)
plot(bannockburn, type = "h", ylab = "Rainfall (mm)")
}
Run the code above in your browser using DataLab