storm_events | R Documentation |
NOAA Storm Events data
se_data(year, type, overwrite = TRUE, ...)
se_files(...)
year |
(numeric) a four digit year. see output of |
type |
(character) one of details, fatalities, locations, or legacy. required. |
overwrite |
(logical) To overwrite the path to store files in or not,
Default: |
... |
Curl options passed on to crul::verb-GET (optional) |
A tibble (data.frame)
See stormevents_cache for managing cached files
https://www.ncdc.noaa.gov/stormevents/
## Not run:
# get list of files and their urls
res <- se_files()
res
tail(res)
# get data
x <- se_data(year = 2013, type = "details")
x
z <- se_data(year = 1988, type = "fatalities")
z
w <- se_data(year = 2003, type = "locations")
w
leg <- se_data(year = 2003, type = "legacy")
leg
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.