fars_summarize_years: Summarize FARS years

Description Usage Arguments Value Examples

Description

This takes in a vector of years and reads the data for them. Then this function creates a summary of the number of observations in each year and month.

Usage

1

Arguments

years

A vector of intergers, representing the years to summarise

Value

This function returns a dataset containing the year, month and number of observations.

Examples

1
2
3
4
5
6
7
## Not run: 
fars_summarize_years(c(1991,1992,1993))
fars_summarize_years(2001)
fars_summarize_years(c(1991,2002,2013))
fars_summarize_years("ababab")

## End(Not run)

JamasEnright/FARS documentation built on May 7, 2019, 10:19 a.m.