make_filename: Generate date-specific filename

Description Usage Value Examples

Description

This function accepts an input and returns a filename that meets a proper templated format while including the unique date of the input string. Given the as.integer function within our function, the input must be numeric, otherwise an error will be thrown.

Usage

1

Value

This function returns a string that will serve as a filename for the dataset in question. The main purpose of this function is to ensure the unique year is added to the filename.

Examples

1
2
3
4
## Not run: 
make_filename(2018)

## End(Not run)

ntbohl/fars documentation built on May 6, 2019, 7:19 a.m.