make_filename: Create filnames from the Fatality Analysis Reporting System

Description Usage Arguments Value Examples

Description

Create the filenames that are needed for reading files from the Fatality Analysis Reporting System.

Usage

1

Arguments

year

Year of interest. Current dataset contains years 2013-2015.

Value

A character object that can be used by fars_reader to open a fars file.

Examples

1
2
3
4
5
## Not run: 
file_2013 <- make_filename(2013)
fars_2013 < - fars_read(file_2013)

## End(Not run)

julianbarg/farsfunctions documentation built on May 5, 2019, 1:36 a.m.