make_filename: Generate a FARS report file name based on the year provided...

Description Usage Arguments Value Examples

Description

This function will return a character vector containing a file name that follows the FARS naming standards

Usage

1

Arguments

year

Year for which to generate the file name. It is expected to be an integer number. If the year argument cannot be converted to an integer a warning will be reported.

Value

A character vector containing the generated file name.

Examples

1
2
3
4
## Not run: 
nm <- make_filename(2017)

## End(Not run)

vsemichev/farsr documentation built on May 3, 2019, 7:08 p.m.