plot_flood_warnings: Plot flood warnings on a map

View source: R/plot_flood_warnings.R

plot_flood_warningsR Documentation

Plot flood warnings on a map

Description

Plot flood warnings on a map

Usage

plot_flood_warnings(
  min_severity = 3,
  county = NULL,
  lat = NULL,
  long = NULL,
  dist = NULL,
  interactive = TRUE
)

Arguments

min_severity

Return only warnings which at least as severe as this level.

county

Return only warnings applying to flood areas whose county name contains the submitted string. Can be a list of county names separated by "," in which case alerts which mention any of the named counties will be returned.

lat, long, dist

Return only warnings applying to flood areas which are within dist km of the given latitude/longitude (in WGS84 coordinates), this may be approximated by a bounding box.

interactive

If TRUE return an interactive map, otherwise a static image.

Value

A tmap object. Interactive exploration of flood warnings.


DavidASmith/eaflood documentation built on April 5, 2022, 4:29 a.m.