fars_read_years: Reads the data from a file for some years

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

This function tries to collect the data for one or more years from the datafile. years argument should be a list of the required years. If no data found for a specific year, a warning message is displayed and the element in the output listis NULL.

Usage

1

Arguments

years

List or vector of the years to be extracted from the datafile.

Value

This function returns a list of data frames containing the data of the file processed by years. Each data frame has two columns for the month and year of a sample in a data file.

Examples

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

## End(Not run)

cogitoergoread/fars documentation built on Jan. 25, 2020, 1:12 p.m.