make_filename: Create a filename by the year of interest

Description Usage Arguments Value Note Examples

Description

This function created a filename as accident_<YEAR>.csv.bz2, where <YEAR> is substituted by the function input year.

Usage

1

Arguments

year

A numeric value of the year. It should correspond to the available yearly records from US National Highway Traffic Safety Administration's Fatality Analysis Reporting System.

Value

This function returns a character sting of the filename as accident_<YEAR>.csv.bz2, where <YEAR> is substituted by the input argument.

Note

This function will give error if the input year is non-numeric or non-integer.

Examples

1

androsova/fars documentation built on May 10, 2019, 11:44 a.m.