make_filename: make_filename - create a file name for the compressed file

Description Usage Arguments Value Examples

Description

This function takes the year of the accident to generate a filename for the compressed file with the year on it.

Usage

1

Arguments

year

Year of the accident, need to be able to converted to an integer

Value

This function returns the accident file name in compressed format (surffix .csv.bz2) as a string.

Examples

1
2
my_accident <- make_filename(2014)
make_filename("2013")

Cheukting/fars documentation built on May 29, 2019, 5:56 p.m.