Description Usage Arguments Details Value Examples
This function will count the nunber of motor vehicle fatal injuries for each month of each year
1 | fars_summarize_years(years)
|
years |
An integer, vector, or list of year(s) |
The yearly data is first aggregated into one list by using fars_read_years. Next, this function row binds the list elements together into a tibble. Finally, dply and tidyr functions are used to summarize and spread the data in order to generate the final output.
Returns a tibble of counts by month for each of the seleted years
1 | fars_summarize_years(2013:2015)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.