Learn R Programming

rnoaa (version 0.8.4)

tornadoes: Get NOAA tornado data.

Description

Get NOAA tornado data.

Usage

tornadoes(overwrite = TRUE, ...)

Arguments

overwrite

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

...

Curl options passed on to HttpClient (optional)

Value

A Spatial object is returned of class SpatialLinesDataFrame.

File storage

We use rappdirs to store files, see 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

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

Examples

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

Run the code above in your browser using DataLab