make_filename: Produce name of a dataset given an year

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

This function can be used to obtain the name of one of the datasets contained in this package, providing an year via the year argument. The according file name is produced.

Usage

1

Arguments

year

An integer representing an year

Value

This function returns a string (a file name). An error will be produced if the input cannot be coerced to an integer.

Examples

1
2
3
4
## Not run: 
make_filename(2015)

## End(Not run)

naelvis/fars documentation built on July 27, 2020, 7:30 a.m.