make_filename: Make Filename

Description Usage Arguments Value Examples

Description

This function takes a year as input and returns a string filename with the format "accident_y.csv.bz2" with y as the input converted to an integer.

Usage

1

Arguments

year

A numeric vector of length 1

Value

A character string with format "accident_year.csv.bz2"

Examples

1
2
3
4
5
## Not run: 
make_filename(2000)
make_filename(2012)

## End(Not run)

codyschulz/samplePackage2 documentation built on May 3, 2019, 9:37 p.m.