fars_read_years: Given a list or vector of years, return the month/year...

Description Usage Arguments Value Note Examples

Description

Given a list or vector of years, return the month/year combinations for all observations in the FARS data belonging to the given 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 list of tibbles, one tibble for each year in years, which each contains the month/year combination for each observation in the FARS files for the given years.

Note

The elements in years must be castable to integers.

Examples

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

## End(Not run)

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