make_filename: Create filename

Description Usage Arguments Details Value Examples

Description

The function creates a standard filename form a year input.

Usage

1

Arguments

year

An integer number to be passed to the filename.

Details

The function attempts to convert its argument to integer. If unsuccessful, the function throws an error message. If successful, the function passes the outcome to the sprintf function, which then prints a standard filename that also contains the year which was specified.

Value

The function returns an object of class "character".

Examples

1

IdleImpala/fars documentation built on May 3, 2019, 8:34 p.m.