make_filename: Create a name for your file

Description Usage Arguments Details Value Examples

Description

This function gives a name to your compressed csv file. The form of the name is accident_[wantedYear].csv.bz2.

Usage

1

Arguments

year

- can be either in character or integer form, but it has to be a number. See examples below.

Details

this function uses 'sprintf' function from base package.

Value

this function will return a string of your new filename with specified year

Examples

1
2
3
4
5
## Not run: 
make_filename(2015)
make_filename("2017")

## End(Not run)

dkurtoic/fars documentation built on May 7, 2019, 10:38 a.m.