rnoaa (version 0.9.5)

tornadoes: Get NOAA tornado data.

Description

This function gets spatial paths of tornadoes from NOAA's National Weather Service Storm Prediction Center Severe Weather GIS web page.

Usage

tornadoes(overwrite = TRUE, ...)

Arguments

overwrite

(logical) To overwrite the path to store files in or not, Default: TRUE

...

Curl options passed on to crul::verb-GET (optional)

Value

A Spatial object is returned of class SpatialLinesDataFrame.

File storage

We use rappdirs to store files, see rappdirs::user_cache_dir() for how we determine the directory on your machine to save files to, and run rappdirs::user_cache_dir("rnoaa/tornadoes") to get that directory.

References

https://www.spc.noaa.gov/gis/svrgis/

Examples

Run this code
# NOT RUN {
shp <- tornadoes()
library('sp')
if (interactive()) {
  # may take 10 sec or so to render
  plot(shp)
}
# }

Run the code above in your browser using DataLab