Description Usage Arguments Value Note
View source: R/fars_functions.R
This is a simple function that creates a wide table containing the monthly number of accidents for a given vector of years.
1 | fars_summarize_years(years)
|
years |
a vector of 4 digits years. |
This function returns a tibble with 12 rows for each month and the selected years as variables.
This function returns an error if the selected year argument does not exist in the available data sets.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.