fars_read_years: Reading multiple fars files

Description Usage Arguments Value Examples

View source: R/fars_data.R

Description

Returning the column MONTH and year for given years. make_filename and fars_read are used to read the files

Usage

1

Arguments

years

A vector of integer values defining years to be loaded

Value

Returning lists of dataframes - one per defined year - with the columns MONTH and year. If the year is invalid an error returns.

Examples

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

FlorianHandke/coursera_building_r_packages documentation built on July 15, 2020, 12:54 a.m.