get_storm_data: get_storm_data

Description Usage Arguments Details Value Examples

View source: R/get_storm_data.R

Description

Retrieve data from products.

Usage

1
2
get_storm_data(links, products = c("discus", "fstadv", "posest", "public",
  "prblty", "update", "wndprb"))

Arguments

links

to storm's archive page.

products

Products to retrieve; discus, fstadv, posest, public, prblty, update, and windprb.

Details

get_storm_data is a wrapper function to make it more convenient to access the various storm products.

Types of products:

discus

Storm Discussions. This is technical information on the cyclone such as satellite presentation, forecast model evaluation, etc.

fstadv

Forecast/Advisory. These products contain the meat of an advisory package. Current storm information is available as well as structural design and forecast data.

posest

Position Estimate. Issued generally when a storm is threatening; provides a brief update on location and winds.

public

Public Advisory. Issued for public knowledge; more often for Atlantic than East Pacific storms. Contains general information.

prblty

Strike Probability. Discontinued after the 2005 hurricane season, strike probabilities list the chances of x-force winds in a particular city.

update

Cyclone Update. Generally issued when a significant change occurs in the cyclone.

windprb

Wind Probability. Replace strike probabilities beginning in the 2006 season. Nearly identical.

Progress bars are displayed by default. These can be turned off by setting the dplyr.show_progress to FALSE. Additionally, you can display messages for each advisory being worked by setting the rrricanes.working_msg to TRUE.

Value

list of dataframes for each of the products.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
## Get public advisories for first storm of 2016 Atlantic season.
get_storms(year = 2016, basin = "AL") %>%
  slice(1) %>%
  .$Link %>%
  get_storm_data(products = "public")
## Get public advisories and storm discussions for first storm of 2017 Atlantic season.
get_storms(year = 2017, basin = "AL") %>%
  slice(1) %>%
  .$Link %>%
  get_storm_data(products = c("discus", "public"))

## End(Not run)

timtrice/Hurricanes documentation built on Oct. 8, 2018, 1:25 a.m.