fars_summarize_years: Summarise data for multiple years of Fatality Analysis...

Description Usage Arguments Value Note Examples

Description

This function returns a summary of the number of fatalities in motor vehicle crashes for multiple years. The summary is done by year and month.

Usage

1

Arguments

years

A numeric vector of years. Uses a YYYY specification.

Value

A tibble showing the number of fatalities by month and year.

Note

The csv files with the data need to be downloaded previously from the US National Highway Traffic Safety Administration's Fatality Analysis Reporting System website (https://www.nhtsa.gov/research-data/fatality-analysis-reporting-system-fars)

Examples

1
2
## Not run: fars_summarize_years(2010)
## Not run: fars_summarize_years(2012:2015)

rafaelcb/FARS documentation built on May 12, 2019, 2:03 p.m.