make_filename: Make FARS filename

Description Usage Arguments Value Examples

Description

This function takes in year (year) and returns a properly formatted string pointing to the file in the local directory.

Usage

1

Arguments

year

The year of the data

Value

A properly formatted file name, of the format "accident_year.csv.bz2"

Examples

1
2
3
4
5
6
## Not run: 
make_filename(1991)
make_filename(2001)
make_filename("ababab")

## End(Not run)

JamasEnright/FARS documentation built on May 7, 2019, 10:19 a.m.