fars_summarize_years: fars_summarize_years

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

summarize the monthly total of the accidents for year(s) of interest. dplyr and tidyr need to be imported for this function.

Usage

1

Arguments

years

the years of interest. It could be a single year or a vector of years

Value

summary of monthly tally of the number of accidents for the years of interest

Examples

1
2
3
4
5
6
7
## Not run: 

sum_2015 <- fars_summarize_years(2015)
sum_2013to2015 <- fars_summarize_years(c(2013, 2014, 2015))


## End(Not run)

jye56/funcFARS documentation built on May 18, 2019, 8:12 p.m.