Skip to content

R package for access to English Environment Agency Flood Monitoring API

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

DavidASmith/eaflood

Repository files navigation

eaflood

R-CMD-check

The eaflood package provides access to data from the Environment Agency FloodMonitoring API covering flood areas in England.

The following data are available:

  • Flood warnings
  • Flood areas
  • Monitoring stations
  • Measures (e.g. level and flow recorded at the monitoring stations)
  • Readings values for each measure over the previous 4 weeks.

Installation

You can install the development version of eaflood from GitHub with:

# install.packages("devtools")
devtools::install_github("DavidASmith/eaflood")

Examples

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.

About

R package for access to English Environment Agency Flood Monitoring API

Topics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages