fars_summarize_years: Given a list or vector of years, return the number of...

Description Usage Arguments Value Note Examples

Description

Given a list or vector of years, return the number of observations in the FARS data for all the given years and the months in these years.

Usage

1

Arguments

years

A list or vector of values that can be coerced to integers and that each represents a year.

Value

A tibble containing the number of observations in the FARS data for the given years at a month granularity.

Note

The elements in years must be castable to integers.

Examples

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

## End(Not run)

chrpihl/fars documentation built on May 8, 2019, 6:51 p.m.