fars_read_years: Reads data from file for provided years data and retrun array...

Description Usage Arguments Value Examples

Description

This is simple function to create dataset for single or multiple year for which data file is available. Data table columns are for Month of Year and Year for individual row in data set of Year.

Usage

1

Arguments

years

A charector string or Integer or vector of Years to get dataset

Value

Array of Datatable for provided years in arguments. array element will represent individual year's data in data table. Function will return NULL in case of year datafile not found in working environment or error in processing datafile.

Examples

1
2
3
4
5
6
7
## Not run: 
fars_read_years(2013)
fars_read_years("2013")
fars_read_years(c(2013,2014,2015))
fars_read_years(c("2013","2014","2015"))

## End(Not run)

garvish/datascience documentation built on May 16, 2019, 5:41 p.m.