fars_summarize_years: fars_summarize_years

Description Usage Arguments Value Examples

Description

Uses helper functions years and fars_read_years function to read each csv file. the dplyr bind_rows function combines the data frames into dat_list object then groups by year and month. The year and number of accidents for each month are spread to columns.

Usage

1

Arguments

years

(c(2013,2014,2015))

Value

a tibble

Examples

1
fars_summarize_years(c(2013,2014,2015))

johnmwaugh/FarsPackage documentation built on May 24, 2019, 4:06 a.m.