make_filename: Creates a data file name

Description Usage Arguments Value Examples

View source: R/fars_function.R

Description

make_filename creates a filename which finishes with the stated year.

Usage

1

Arguments

year

Number or string. This value will be added to the end of the file name.

Value

If the input is a number or a string, then the output will be a character string containg the year at the end. Otherwise it will throw an error.

Examples

1
2
filename1 <- make_filename(2014)
filename2 <- make_filename("2015")

Anirie/TestPackage documentation built on Oct. 30, 2019, 4:54 a.m.