storm_events: NOAA Storm Events data

Description Usage Arguments Value Note References Examples

Description

NOAA Storm Events data

Usage

1
2
3
se_data(year, type, overwrite = TRUE, ...)

se_files(...)

Arguments

year

(numeric) a four digit year. see output of se_files() for available years. required.

type

(character) one of details, fatalities, locations, or legacy. required.

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 tibble (data.frame)

Note

See stormevents_cache for managing cached files

References

https://www.ncdc.noaa.gov/stormevents/

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
## 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)

rnoaa documentation built on May 19, 2021, 9:13 a.m.