make_filename: make_filename

Description Usage Arguments Value Note Examples

Description

Function to create a string to be used as a filename in the format "accident_<year>.csv.bz2".

Usage

1

Arguments

year

Integer indicating the year desired

Value

Char vector Filename in the format "accident_<year>.csv.bz2"

Note

Using anything other than an integer for the year paramenter will result in an error.

Examples

1
2
3
4
5
 ## Not run: 
  make_filename(99)
  make_filename(2018)
 
## End(Not run)

B0Ib0ivrb63B/farsRPackageProj- documentation built on May 29, 2019, 11:04 p.m.