fars_summarize_years: Summary of accidents

Description Usage Arguments Value Examples

Description

This function takes as an argument a list composed of years(integers) and returns a summary of accidents per month for a given year is a dataframe. It calls the function fars_read_years(years). If the year cannot be found, then an error is generated.

Usage

1

Arguments

years

a list of years(integers) such as list(2013,2014,2015)

Value

the function returns a dataframe with years as a variable and a summary of the accidents grouped by month.

Examples

1
2
3
\dontrum{
fars_summarize_years(list(2013,2014,2015))
}

EdwardKoonce/farsSimple documentation built on May 23, 2019, 3:11 p.m.