fars_summarize_years: Summarizes the number of accidents/month for each year

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

fars_summarize_years diplays a summary of the number of US accidents per month for each year

Usage

1

Arguments

years

vector of years to get accidents/month summary data for

Value

a matrix containing 12 rows (for each month) and one column for each year with the total number of accidents for that particular month in that particular year. A warning is returned for each year that does not have a corresponding "accident_<year>.csv.bz2" file.

Examples

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

adigherman/fars documentation built on May 7, 2019, 2:54 a.m.