make_filename: Creates a filename adding year information

Description Usage Arguments Details Value See Also Examples

View source: R/fars_functions.R

Description

Inserts a year number into a base string and builds a new filename.

Usage

1

Arguments

year

a year number, as integer.

Details

The resulting string can be passed to other functions to process the target data file. It is a convenience function to process many files that differ only in the year number.

Value

A filename as a character string.

See Also

(fars_read)

Examples

1
2
print(make_filename(2013))
filename <- make_filename(2014)

Roger-Li/farsPackage documentation built on May 25, 2019, 1:28 p.m.