fars_summarize_years: Summarize counts of a accidents by month for a set of years

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

This is a function that summarizes counts of the number of accidents per month for a given set of years from accident data files.

Usage

1

Arguments

years

A vector of years for which to summarize accident months

Value

This function returns a dplyr::tbl_df object for with a column for each provided year and a row for each month. The values in the data frame are counts of accidents for the corresponding month and year.

Examples

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

milandv/courserafars documentation built on March 19, 2018, 3:12 a.m.