fars_summarize_years: Print "Fars Summarize Years"

Description Usage Arguments Details Value Examples

Description

This is a function that takes a vector or list of years (provided by user with years argument), and outputs a dataframe with columns for each year and rows for each month containing counts of rows (accidents) in each year's files for each month.

Usage

1

Arguments

years

A list (or vector) of years

Details

Errors could come from years being improperly formatted.

Value

dataframe with columns for each user inputed year that had an associated file, and rows (accidents) for each MONTH, containing counts of rows for each month/year across files.

Examples

1
2
3
4
## Not run: 
fars_summarize_years(list('2013','2015'))

## End(Not run)

osserman/farsSO documentation built on May 5, 2019, 3:54 p.m.