make_filename: Creates file name in FARS standard

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

Creates file name in the format of FARS files (accident_YYYY.csv.bz2) where YYYY is the year in 4 digit format

Usage

1

Arguments

year

A numeric representing the year in 4 digits format YYYY

Value

A character string with the file name to read in the format accident_YYYY.csv.bz2

Examples

1
2
3
4
## Not run: 
    filename <- make_filename(2013)

## End(Not run) 

TizVic/BuildingAnRPackage documentation built on Sept. 11, 2017, 9:54 a.m.