Description Usage Arguments Note
This function takes a year for which you want to download storm data, checks to see if it's already been downloaded and cached, and, if not, downloads and caches it from the NOAA's online storm events files.
1 | download_storm_data(year, file_type = "details")
|
year |
A four-digit numeric or character string giving the year for which the user would like to download data. |
file_type |
A character string specifying the type of file you would like to pull. Choices include: "details" (the default), "fatalities", or "locations". |
This function caches downloaded storm data into an object called lst
that persist throughout the R session but is deleted at the end of the R
session (as long as the R history is not saved at the end of the session).
This saves time if the user uses the storm data from the same year for
several commands.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.