fars_summarize_years: Summarize a list of tibbles by observation counts

Description Usage Arguments Value Examples

Description

This function summarizes the list of tibbles returned by fars_read_years. The function aggregates the list of tibbles into a single tibble, creates groups by year and MONTH, counts the number of observations into a new column "n", and returns the summary tibble in wide format.

Usage

1

Arguments

years

A list of numeric values matching the corresponding csv files to import and summarize

Value

This function returns a summary data frame in wide format as a side effect.

Examples

1
2
3
## Not run: years <- list(2013, 2014, 2015)
fars_summarize_years(years = years)
## End(Not run)

HaydenMacDonald/farsr documentation built on May 27, 2019, 9:34 a.m.