make_filename: Create Filename

Description Usage Arguments Value Note Examples

View source: R/fars_functions.R

Description

Creates a name for a file dependent on the year of the data.

Usage

1

Arguments

year

the year that the data in the file is collected to be used as part of the created filename.

Value

This function returns the filename that was generated from the function.

Note

all inputs into the parameter year will become integers, so make sure to use the numerical year.

Examples

1
2
## Not run: make_filename(2013)
## Not run: make_filename(2014)

JamesFrech/PeerReviewProjectWeek4 documentation built on Jan. 30, 2021, 1:27 p.m.