make_filename: Creates a valid FARS filename as per the provided year

Description Usage Arguments Value Note Examples

Description

Creates a valid FARS filename as per the provided year

Usage

1

Arguments

year

An integer value for providing year to create corresponding filename

Value

A character vector with required valid FARS filename for provided year

Note

This function requires a valid integer value for year, otherwise it will result in error. For example, this code make_filename("abc") will break.

Examples

1
2
3
4
5
## Not run: 
fars_filename <- make_filename(2013)
print(fars_filename)

## End(Not run)

abhinavcreed13/farsPackage documentation built on May 10, 2019, 3:15 a.m.