make_filename: make_filename

Description Usage Arguments Details Value References Examples

Description

A simple function to create the filename of accident data for a given year.

make_filename This function takes an user provided year to generate a filename from FARS.

Usage

1

Arguments

year

A numeric corresponding to the user provided year.

Details

The function explictly converts the numeric to an integer.

Value

A character string corrresponding to the full file name with the format. accident_year.csv.bz2.

References

https://www.nhtsa.gov/research-data/fatality-analysis-reporting-system-fars

Examples

1

Darwinita/BuildinganRPackageLCP documentation built on May 31, 2019, 1:13 p.m.