make_filename: Creates a filename

Description Usage Arguments Value Examples

Description

Creates a filename for a .csv.bz2 file for the year argument with the structue "accident_<year>.csv.bz2". Requires an integer as input and ends with an error message, otherwise.

Usage

1

Arguments

year

Integer: year of observation.

Value

Returns a character string as "accident_<year>.csv.bz2" to be used as a filename

Examples

1
2
3
4
## Not run: 
makefilename(2015)

## End(Not run)

axelbudde/fars documentation built on May 5, 2019, 3:48 p.m.