make_filename: Generate a file name in a specific convension

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

This funtion serves as a template to generate a specific file name, in the format of "accident_yyyy.csv.bz2", based on the input value (yyyy).

Usage

1

Arguments

year

An integer of 4 digits representing a year.

Value

A string representing the coresponding file name.

Examples

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

## End(Not run)

yzhang3142/rpkgtutorial documentation built on Dec. 16, 2017, 5:03 a.m.