fars_summarize_years: Count number of motor vehicle accidents by year for selected...

Description Usage Arguments Details Value See Also Examples

View source: R/fars_functions.R

Description

Counts the number of fatal motor vehicle accidents for each month of the specified years in the FARS data set.

Usage

1

Arguments

years

Numeric vector of years to summarize.

Details

Throws an error if specified years are invalid.

Value

Returns a tbl_df of the number of motor vehicle accidents for each selected year.

See Also

https://www.nhtsa.gov/Data/Fatality-Analysis-Reporting-System-(FARS)

Examples

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

dandewaters/FARSFunctions documentation built on May 27, 2020, 12:04 a.m.