fars_read_years: Reads the month and year from accient files and generates...

Description Usage Arguments Details Value Examples

Description

This function generates tables subtracting month and year from data

Usage

1

Arguments

years

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

Details

Returns NULL and warning if the file does not exist

Value

Returns a list of tibbles (data frames) with the same number or rows as the data in "accident_<year>.csv.bz2' files and two columns-month and years.

Examples

1
2
3
4
5
6
7
## Not run: 
fars_read_years(2013:2015)
fars_read_years(list(2013,2014))
#Results in a warning 
fars_read_years(2016)

## End(Not run)

agusdon/fars documentation built on May 10, 2019, 7:35 a.m.