make_filename: This function use the sprintf function to create a filename...

Description Usage Arguments Value Note Examples

View source: R/fars_functions.R

Description

This function use the sprintf function to create a filename for the data in the year observed in csv.bz2 format.

Usage

1

Arguments

year

A numerical vector for the year to include in the file name

Value

A character vector indicating the name of the files in .csv.bz2 format

Note

If input cannot be coerced to integer(s) warning will result and NA(s) will be returned.

Examples

1
2
3
4
5
6
## Not run: 
make_filename(2013)
make_filename('2013')
make_filenam(c(2013,2015))

## End(Not run)

lorenzo-arturo/farspackage documentation built on June 13, 2020, 12:24 a.m.