fars_summarize_years: Summarize FARS data by month and year

Description Usage Arguments Value Note Examples

Description

This function will summarize the number of fatal accidents by month and year

Usage

1

Arguments

years

A vector input of the years you would like to see summarized

Value

A table containing data on the number of accidents by year and month

Note

Year inputs you do not have data for will return an error. If you submit a vector with at least one valid input, then only a warning message will be generated.

Examples

1
2
## Not run: fars_summarize_years(c(2013,2014))
## Not run: fars_summarize_years(c(2013,2014,2015))

gharrels/FARS_ documentation built on May 29, 2019, 3:05 a.m.