fars_summarize_years: Create Summary Data for Specified Years

Description Usage Arguments Value Examples

Description

This function takes a list of years, passes them to the fars_read_years() function, and combines the resulting data frames into a single summary data frame with 12 rows (one for each month) and column for each year. Totals for each month are shown under their respective year columns.

Usage

1

Arguments

years

A vector of the years for which we want to get data.

Value

This function returns a summary data frame.

Examples

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

MaryLvV/mvfars documentation built on May 7, 2019, 3:40 p.m.