fars_read_years: The function is to take a list of years and returns a list of...

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

The function is to take a list of years and returns a list of data frames with MONTH and year columns based on data in "accident_X.csv.bz2" files. The files need to be in the working directory (Check function fars_read above!).

Usage

1

Arguments

years

A list of years of integer or string that when the files were generated

Value

this function returns a list of data frames with MONTH and year columns

Examples

1
2
3
4
5
## Not run: 
   fars_read_years(2013:2015)
   fars_read_years(2016) #example of warning (return error!)

## End(Not run)

vinh0105/rpackage documentation built on May 3, 2019, 6:13 p.m.