make_filename: Generate a filename based from a year

Description Usage Arguments Value Examples

View source: R/fars_functions.R

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

OlguiCris/documentacion documentation built on May 21, 2019, 9:23 a.m.