make_filename: Generate filename with provided year

Description Usage Arguments Value Examples

Description

Provide a year, this functon will generate the filename with pre-set format using the year provided. Thin input must be able to converted to integer or an error will occur.

Usage

1

Arguments

year

a number or string represented the year that need to included in the filename.

Value

a string, represented the file name with pre-set format

Examples

1
2
3
4
# all examples below generate same output
 make_filename(2014)
 make_filename("2014")
 make_filename(2014.3) #not recommended

esppk/fas_pkg documentation built on May 9, 2019, 9:59 p.m.