fars_read_years: –3– fars_read_years: Reads month and year from accident...

Description Usage Arguments Value

View source: R/fars_functions.R

Description

The function accepts a vector of years and returns a list of data frames with month and year columns based on data in "accident_<year>.csv.bz2 files.

Usage

1

Arguments

years

A vector or list of years in numeric or integer format.

Value

Returns a list of tibbles with the same number of rows as the data in "accident_<year>.csv.bz2" files and two columns - month & year. Returns NULL and a warning if the file does not exist.


JimMeister/farsdata documentation built on May 28, 2019, 12:43 p.m.