make_filename: Generate a "accident_YEAR.csv.bz2" string with a specified...

Description Usage Arguments Value Note Examples

Description

Generate a "accident_YEAR.csv.bz2" string with a specified YEAR.

Usage

1

Arguments

year

An integer or a character.

Value

A character string.

Note

Will throw a warning and malfunction if year can't be converted to an integer (eg. "HELLO" will produce "accident_NA.csv.bz2").

Examples

1
2
3
4
5
## Not run: 
make_filename(2014)
make_filename("2018")

## End(Not run)

KDallaporta/TestPackage documentation built on May 14, 2019, 10:32 a.m.