fars_read_years: Multiple data file loader

Description Usage Arguments Value Note Examples

Description

It creates a list containing the data objects ('tbl_df' type) corresponding to the years provided by the years input parameter. The data include only the MONTH and YEAR fields. NULL is returned for the data table whose year does not exist

Usage

1

Arguments

years

An array of numeric representing the years referring to the data to be loaded

Value

A list object containing the data frames referring to years provided as input, if the corresponding files exist; NULL otherwise

Note

Data files to be loaded must be placed in the same directory of this R script!

Examples

1
  fars_read_years( c(2013, 2014) )

fmax85/testpack documentation built on May 12, 2019, 7:18 p.m.