fars_summarize_years: fars_summarize_years

Description Usage Arguments Value References Examples

Description

A function to summarize FARS events per month and year.

fars_summarize_years This function uses an user provided series of years to create a summary of the total number of FARS events per month and year.

Usage

1

Arguments

years

Is a numeric vector corresponding to a series of years for which to summarize FARS data.

Value

A dataframe with the summary of fars events per month for every given year.

References

https://www.nhtsa.gov/research-data/fatality-analysis-reporting-system-fars

Examples

1
2
3
4
5
6
fars_summarize_years(c(2013,2014,2015))

## Not run: 
fars_summarize_years(c(2016,2017))

## End(Not run)

Darwinita/BuildinganRPackageLCP documentation built on May 31, 2019, 1:13 p.m.