The eaflood
package provides access to data from the Environment
Agency FloodMonitoring
API
covering flood areas in England.
The following data are available:
You can install the development version of eaflood from GitHub with:
# install.packages("devtools")
devtools::install_github("DavidASmith/eaflood")
Here a few examples of what you can do with eaflood
:
library(eaflood)
Get current flood warnings:
plot_flood_warnings(interactive = FALSE)
Get
flood areas for a given location…
plot_flood_areas(lat = 53.38,
lon = -1.46,
dist = 10,
interactive = FALSE)
Get
details of available monitoring stations…
plot_stations(town = "Gloucester", interactive = FALSE)
Get recent
readings for a particular measure…
plot_measure_readings("L0607-level-stage-i-15_min-m", show_max = FALSE)
See the vignette for more information.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.