fars_summarize_years: Summarize FARS data

Description Usage Arguments Value Examples

Description

This function summarizes a list of data frames. You can check the number of cases per year every month.

Usage

1

Arguments

years

A numeric vector of years that you are interested in.

Value

This function returns a data frame table(tbl_df) summarizing data. One of the column names is "MONTH", and the others are years coerced to characters. If any element of the input vector does not match a file list, it gives you a warning message.

Examples

1
## Not run: fars_summarize_years(2013:2015)

JayLKim/farsCoursera documentation built on May 7, 2019, 10:33 a.m.