make_filename: Create a filename given a provided year(s)

Description Usage Arguments Value Examples

Description

This function takes a single value, vector or list representing a four integer year. The function prints a character string with the following format: "accident_[year].csv.bz2" for each value provided.

Usage

1

Arguments

year

A numeric value of any length

Value

This function produces a side effect by printing the generated filename as a character string

Examples

1
## Not run: make_filename(2018)

HaydenMacDonald/farsr documentation built on May 27, 2019, 9:34 a.m.