fars_summarize_years: Return monthly total accidents for given years

Description Usage Arguments Value See Also Examples

View source: R/fars_functions.R

Description

This function takes a vectors of year and feeds it into the fars_read_years function. It then uses dplyr and tidyr packages to group total number of accident by months and spread it by the years.

Usage

1

Arguments

years

a vector of years

Value

a tibble summarizes total accidents per month for given years

See Also

fars_read_years

Examples

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

vh42720/fars documentation built on May 29, 2019, 2:29 p.m.