Returns storms and product link.
get_storms(years = format(Sys.Date(), "%Y"), basins = c("AL", "EP"))
years | numeric or vector, four digits (%Y format) |
---|---|
basins | One or both of c("AL", "EP") |
A 4xN dataframe
Numeric, four-digit year of the storm
Character, name of storm mixed-case
AL (Atlantic) or EP (East Pacific)
URL to storms' product pages
To disable the progress bar set option dplyr.show_progress to FALSE.
http://www.nhc.noaa.gov/archive/2016/
Dataframe of storms.
By default returns all storms for the current year. If no storms have developed will return an empty dataframe.
# Default. Get all storms, both basins, for last year. if (FALSE) { storms <- get_storms(year = 2016, basin = c("AL", "EP")) # Get storms for two different years storms.2010 <- get_storms(c(2010, 2015)) # Get storms for two consecutive years, Atlantic basin only storms.al.2005 <- get_storms(2005:2007, basin = "AL") }