make_filename: Generate a filename based from a year

Description Usage Arguments Value Examples

Description

This function generates the filename where the data for a specified year is stored. Note: The working directory must be set to the directory that contains the data files.

Note: This function will not warn you if the file for the specified year does not exist.

Usage

1

Arguments

year

The year as an integer or character for which to generate the filename.

Value

This function returns the filename as a character string of Fatality Analysis Reporting System data for the specified year.

Examples

1
2

MaferArias27/Building-an-R-Package documentation built on May 28, 2019, 4:31 a.m.