fars_read_years: Read in Fatality Analysis Reporting System data files

Description Usage Arguments Value See Also Examples

View source: R/fars_functions.R

Description

fars_read_years will read in multiple Fatality Analysis Reporting System data files based on the years provided.

Usage

1

Arguments

years

The years relating to the file names to be read in

Value

fars_read_years will search for the file names based on the years provided. For example, if 2013:2014 is provided fars_read_years will search for the following files:

If the files exist a list containing the respective data will be returned. If the files do not exist an error will be returned stating the invalid year(s).

See Also

make_filename for naming convention

Examples

1
fars_read_years(2013:2014)

GHCoursera/fars documentation built on May 30, 2019, 8:25 a.m.