fileDate: Append Date to Filename

Description Usage Arguments Value Author(s) Examples

Description

fileDate is a small helper function which produces a string containing today's date. The output is intended to be appended to files which are frequently iterated for organizational purposes.

Usage

1
fileDate(prefix = "_", suffix = ".csv")

Arguments

prefix:

string to append before the date; defaults to "_"

suffix:

string to be appended after the date, defaults to ".csv"

Value

character string containing prefix, date, and suffix.

Author(s)

Samuel Callisto calli055@umn.edu

Examples

1
write.csv(iris, fileDate("iris_"))

callistosp/dataTools documentation built on May 3, 2019, 4:31 p.m.