make_filename: Create standardised file names

Description Usage Arguments Value Examples

Description

The make_filename() function generates standardised file names for FARS data sets based on the year you pass to it as argument.

Usage

1

Arguments

year

The year of the FARS report in any format that can be coerced to an integer

Value

This function returns a character string to be used as file name. The string has the following structure where YYYY is replaced with what has been passed as the year argument: accident_YYYY.csv.bz2

Examples

1

tdo15/fars documentation built on May 3, 2019, 10:45 p.m.