Description Usage Arguments Value Note
This function applies the fars_read_years function to a set of years, binds the resulting tables together, and summarizes the data by counting up the number of observations by year and month.
1 | fars_summarize_years(years)
|
years |
the function returns a data frame showing the number of car accidents in each month for each year of the data
The function will return an error if a non-numeric vector is inputted into the years argument
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.