fars_read_years: Creates a list of tables corrisponding to different years

Description Usage Arguments Value Note Examples

View source: R/fars_functions.R

Description

This function receives a list of years as input and retrieves the associated files. For each file it retrieves the corrisponding data table and selects the month and year columns.

Usage

1

Arguments

years

A list of years

Value

This function returns a list of tables corrisponding to a list of years

Note

The function returns an error if the year is invalid: the corrispondent file does not exist

Examples

1
2
3
4
## Not run: 
fars_read_years(years=c(2014,2015))

## End(Not run)

bibagitbub/farspackage documentation built on May 11, 2017, 11:14 a.m.