make_filename: A simple function to create the filename of accident data for...

Description Usage Arguments Details Value References Examples

View source: R/fars_functions_LCP.R

Description

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/BuildinganRPackage documentation built on Aug. 20, 2017, 4:54 p.m.