make_filename: Make a filename

Description Usage Arguments Value Examples

Description

This function generates a file namein the form "accident_ using the C wrapper sprintf where d = year (an integer). This function is internal to this package. If year is not an integer, then an error is generated.

Usage

1

Arguments

year

year is an integer argument

Value

a string of the form "accident_year.csv.bz2"

Examples

1
2
3
4
## Not run: 
file <- make_filename(2013)

## End(Not run)

EdwardKoonce/farsSimple documentation built on May 23, 2019, 3:11 p.m.