fars_read_years: Consolidate month & year data from multiple input files

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

This function extracts and consolidates month and year fields from multiple input files where each input file contains data for 1 year

Usage

1

Arguments

years

A numeric vector of year values for which data is required

Value

If input file doesnt exist for any corresponding input year a warning will be returned indicating that the input year is invalid. For all valid years, a list containing month and year fields of each input year is returned.

Examples

1
2
fars_read_years(c(2013,2014))
fars_read_years(2015)

sandeepbm/FARSFunctions documentation built on May 17, 2019, 7:58 a.m.