Description Usage Arguments Value Note Examples
Function to read data from the US National Highway Traffic Safety Administration's Fatality Analysis Reporting System. and summarize number of observations for each month over one or more years into a tibble (dataframe) 12 x <number of years>
1 | fars_summarize_years(years)
|
years |
Integer list or vector of the year(s) desired |
A tibble: 12 x <number of years> (MONTH, year1, year2, ...)
Requires package 'magrittr'.
1 2 3 4 5 6 | ## Not run:
fars_summarize_years(2013)
fars_summarize_years((2013:2015))
fars_summarize_years(c(2013:2015))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.