make_filename: Generate file name string from year

Description Usage Arguments Value Note Examples

View source: R/fars.R

Description

This function generates a standardised filename string with csv.bz2 extension based on the year defined by the user

Usage

1

Arguments

year

integer of year

Value

string representing standard filename of format "accident_<year>.csv.bz2"

Note

ERROR note: Function does not accept vectors containing multiple numerics

Examples

1
## Not run:  make_filename(2013)

cawrence391/FARSlawrence documentation built on Oct. 2, 2017, 2:57 p.m.