fars_read_years: Read in Fatality Analysis Reporting System data files

Description Usage Arguments Value See Also Examples

View source: R/far_function.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 2016:2017 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(2015:2016)

caimiao0714/farfunction documentation built on Nov. 28, 2017, 3:51 a.m.