make_filename: make_filename

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

The function creates a filename for a .csv.bz2 file based on the year

Usage

1

Arguments

year

An integer represents for a year of a data set.

Value

Returns a string in a format "accident_<year>.csv.bz2" as a file name If the input is not integer, there is an error message.

Examples

1
2
3
4
## Not run: 
makefilename(2013)

## End(Not run)

vnmath/FRAS documentation built on May 18, 2020, 12:06 a.m.