make_filename: Creates a name for the accident csv file using a year value

Description Usage Arguments Value Examples

Description

make filename uses the input year to create a file name for the accident csv file. For example if the year parameter has a value of 2012 the file name constructed will be "accident_2002.csv.bz2". If the year parameter value cannot be coerced into a numeric integer value the file name will be ""accident_NA.csv.bz2"

Usage

1

Arguments

year

one or more year values to be included in the file name string

Value

character vector of file names constructed from the years provided

Examples

1

jrwalker-projects/farsfunctions documentation built on May 29, 2019, 1:50 a.m.