fars_read_years: Read years

Description Usage Arguments Value Note

View source: R/fars_functions.R

Description

Load multiple datasets from a vector of the years of data to be loaded.

Usage

1
fars_read_years(years, datadir = NULL)

Arguments

years

Vector of numerics of the years of data to be loaded.

datadir

Character string of the data directory. Default is NULL, in which case the package loads the built in datasets.

Value

List of data frames giving month and year, each corresponding to the dataset for the year specified in the input.

Note

Data is assumed to be in the same folder as the script.


kamenbliznashki/examplepackage documentation built on Dec. 9, 2019, 12:16 a.m.