fars_read_years: Reads a list of FARS files for the given years.

Description Usage Arguments Value Examples

Description

The list returned by this function is useful for summarizing numbers of accidents by month for certain years.

Usage

1

Arguments

years

vector of integer or string years for data to be read.

Value

list of tibbles with columns MONTH and year, corresponding to the original rows in the data files. When there is no file for a given year, that entry will be NULL and a warning is given.

Examples

1
    fars_read_years(c(2013, 2014))

jimtyhurst/FARSUtil documentation built on May 30, 2019, 11:42 a.m.