Description Usage Arguments Examples
This function pulls storm events data based on a specified date range and / or storm name. (Note: This function pulls full years' worth of data. Later functions filter down to the exact date range desired.)
1 | create_storm_data(date_range = NULL, storm = NULL, file_type = "details")
|
date_range |
A character vector of length two with the start and end
dates to pull data for (e.g., |
storm |
A character string with the name of the storm to pull storm
events data for. This string must follow the format
"[storm-name]-[4-digit storm year]" (e.g., |
file_type |
A character string specifying the type of file you would like to pull. Choices include: "details" (the default), "fatalities", or "locations". |
1 2 3 4 5 | ## Not run:
floyd_data <- create_storm_data(date_range = c("1999-10-16", "1999-10-18"))
floyd_data2 <- create_storm_data(storm = "Floyd-1999")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.