fars_read_years: fars_read_years

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

Reads files into a list of data.frames with two columns, MONTH and year, over the vector of years input. All values in the vector years need to be convertable into an integer otherwise the make_filename function wll error.

Usage

1

Arguments

years

A vector of numbers representing years for analysis

Value

This function returns a list of data.frames with the length of the vector years and two columns: MONTH and year.

Examples

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

## End(Not run)

mmoramarco/buildingrpackage documentation built on May 23, 2019, 5:05 a.m.