make_filename: Create a filename

Description Usage Arguments Value Examples

Description

This function creates a filename for the .csv.bz2 file based on the year parameter. The parameter must be an integer or the function will return an error message.

Usage

1

Arguments

year

A numerical value containing the year that is being searched

Value

A character string that can be used as a filename. Format: "accident_<year>.csv.bz2"

Examples

1
## Not run: make_filename(2016)

pvisser82/fars documentation built on May 29, 2019, 7:50 a.m.