fars_summarize_years: fars_summarize_years function

Description Usage Arguments Value Examples

Description

fars_summarize_years(years) returns a summary table from the information loaded for a given list of years. Because the list of years is limited; invalid years are not included in the data frame.

Usage

1

Arguments

years

desired list of years for selecting data collected from the US National Highway Traffic Safety Administration's Fatality Analysis Reporting System, which is a nationwide census providing the American public yearly data regarding fatal injuries suffered in motor vehicle traffic crashes to be summarized.

Value

a summary table wich contains the number of accidents grouped by year and month of the given list of years

Examples

1
2
3
4
5
## Not run: 
fars_summarize_years()
fars_summarize_years("2013","2014")

## End(Not run)

rainiercito/farsfunctions documentation built on May 26, 2019, 9:54 p.m.