Description Usage Arguments Value Note Examples
View source: R/hurricane_data.R
This function takes the clean data produced by the data_tidy
function and produces a new filtered dataset
1 | data_filter_hurricane(data, name = "alberto", year = 2012)
|
data |
A tibble with tidy hurricane data |
name |
A character string of the name of the hurricane |
year |
And integer or character string with year of the storm – as the same named storm can happen in multiple years |
Filtered hurricane data
The year of the storm is also needed because storm names are recycled
1 2 3 4 5 6 | ## Not run:
data_filter_hurricane(data, name = "alberto", year = 1988)
data_filter_hurricane(data, name = "alberto", year = "2006")
data_filter_hurricane(data, name = "alberto", year = 2012)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.