Description Usage Arguments Value Examples
Read public yearly data regarding fatal injuries suffered in motor vehicle traffic crashes from the US National Highway Traffic Safety Administration as a dataframe and print as a tibble. The function can read in data from multiple years (a vector with year numbers should be given) and outputs the number of observations per month per year (years in colums, months in rows)
1 | fars_summarize_years(years)
|
years |
An integer value or a vector of integer values representing years of interest. |
A tibble with 12 rows (one for each month). Yearly data represented in columns.
1 2 | ## Not run: fars_summarize_years(2013)
## Not run: fars_summarize_years(c(2013,2014))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.