make_filename: Construct a filename

Description Usage Arguments Details Value Examples

Description

The function takes year as input and contructs a new file name by attaching the year year value The expected result should be like accident_<year>.csv.bz2

Usage

1

Arguments

year

A numerical input representing a year.

Details

The function contructs a new filename.

Value

This function returns a Character sting of new file name.

Examples

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

## End(Not run)

chinmaymandal/Assignment3.2.1 documentation built on May 13, 2019, 5:26 p.m.