fars_summarize_years: A function to summarize FARS events per month and year.

Description Usage Arguments Value References Examples

View source: R/fars_functions_LCP.R

Description

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/BuildinganRPackage documentation built on Aug. 20, 2017, 4:54 p.m.