make_filename: Makes a filename by concatenating "accident_%d.csv.bz2" and a...

Description Usage Arguments Value Note Examples

Description

Makes a filename by concatenating "accident_%d.csv.bz2" and a user-supplied year, where %d becomes the year.

Usage

1

Arguments

year

An integer representing the year that will be inserted into the file name

Value

returns the complete file name

Note

If year cannot be coerced into an integer, the function will throw an error

Examples

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

samthomasRLA/FARS documentation built on May 28, 2019, 5:40 p.m.