getAlerts: Get active National Weather Service alerts

Description Usage Arguments Details Value See Also

Description

Retrieve information about current United States National Weather Service (NWS) watches, warnings, and advisories.

Usage

1
getAlerts(includeStates = NULL, excludeStates = NULL, spatial = TRUE)

Arguments

includeStates

2-letter state abbreviations for the states for which alerts should be retrieved. Default is NULL indicating all 50 states and the District of Columbia are included.

excludeStates

2-letter state abbreviations for the states to exclude from the output. A common choice is c("AK", "HI"). Default is NULL indicating no states are excluded.

spatial

logical indicating whether to return alert area geometries. See value.

Details

Alerts are currently limited to the 50 United States and the District of Columbia.

Value

If package weatherAlertAreas is installed, then a SpatialPolygonsDataFrame containing alert information and corresponding alert area geometries. If package weatherAlertAreas is not installed, then a data frame containing alert information.

See Also

Package weatherAlertAreas


ianmcook/weatherAlerts documentation built on May 18, 2019, 1:28 a.m.