make_filename: Infer Filename From Year

Description Usage Arguments Value Note Examples

Description

The function generates the canonical filename for the year of interest.

Usage

1

Arguments

year

A string of four numbers that denote the year of interest.

Value

This function returns a character string which corresponds to the canonical name of a file that contains bz2-compressed comma-separated values for the year of interest.

Note

Entered year is first coerced into integer and only then used to generate a filename. Entering non-numbers will coerce entered string into NA.

Examples

1
2

bzunar/trafficSafety documentation built on June 5, 2019, 7:57 a.m.