make_filename: Create a year based filename

Description Usage Arguments Value Examples

View source: R/farsfunctions.R

Description

This function will concatenate the fars file naming convention with the provided year argument using sprintf() to produce a proper file name for a data set.

Usage

1

Arguments

year

The year associated with the data file. year can be of any single value basic type capable of being coerced to character string.

Value

This function returns a character string consisting of a proper filename. The output will not include a filepath, solely the name of data file.

Examples

1
2
## Not run: make_filename(year=2013)
## Not run: make_filename(year="2014")

JJNewkirk/Rfars documentation built on May 7, 2019, 10:12 a.m.