fars_summarize_years: Calculates a summary of accidents per month for given years

Description Usage Arguments Value Examples

View source: R/fars_functions.r

Description

Accepts a list of years years and provides a summary of total accidents for each month in those years.

Usage

1

Arguments

years

Years of data to be summarized.

Value

Returns a (data.frame) with number of accidents per month for the specified years.

importFrom dplyr bind_rows group_by summarize importFrom tidyr spread importFrom magrittr

Examples

1
2
3
4
5
6
## Not run: 
fars_summarize_years(2013)
fars_summarize_years("2013")
fars_summarize_years(2013:2015)

## End(Not run)

tchoffman/bldgRpkg documentation built on June 26, 2017, 7:35 p.m.