fars_read_years: Iteratively read months and years from different filenames

Description Usage Arguments Value Examples

Description

This function is used to iteratively read files relative to fatalities in a series of initially selected years, i.e. from different files referring to different years.

Usage

1

Arguments

years

A list of years for which the observation needs to be extracted

Value

This function returns a list of data frames, one for each year of the argument list and containing the months and year for each observation. If one of the specified years is not present in the dataset an error message

Examples

1
## Not run: multi_years <- fars_read_years(list(2013, 2014, 2015))

ricrossi/qfars documentation built on May 29, 2019, 1:19 p.m.