make_filename: Create a file name

Description Usage Arguments Value Examples

Description

This function creates an appropriate file name for a given year.

Usage

1

Arguments

year

A year used to make a file name. This should be a numeric.

Value

This function returns an appropriate file name. This is implemented for fars_read. You should put in a numeric; otherwise, it leads to an error.

Examples

1
## Not run: make_filename(2013) #returns "accident_2013.csv.bz2"

JayLKim/farsCoursera documentation built on May 7, 2019, 10:33 a.m.