fars_read_years: Read FARS files for one or more years.

Description Usage Arguments Details Value Examples

Description

This function takes a vector of years, pulls the FARS data #' for those years, and then produces a summary data frames. #' The summary data frames shows the number of observations for each month/year combination for the extracted FARS data.

Usage

1

Arguments

years

vector of years

Details

fars_read_years produces a list of data frames of FARS data, based on input vector of years passed as arguments.

Value

This function returns a list of tibbles, where each #' tibble contains containing the year and month from the observations in the corresponding year's FARS data.

Examples

1
2
3
4
5
## Not run: 
fars_read_years(years = c(2013, 2014, 2015))
fars_read_years(years = 2013)

## End(Not run)

sumitpratap/week4 documentation built on May 17, 2019, 8:45 p.m.