make_filename: Given a 'year' as input return the FARS filename containing...

Description Usage Arguments Value Note Examples

Description

Given a year as input return the FARS filename containing data for that year.

Usage

1

Arguments

year

A value that can be coerced to an integer and that represents a year.

Value

A character vector that is the filename of the FARS file containing data for the year given as input.

Note

The input variable year must be castable to an integer or it will be coerced to NA.

Examples

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

## End(Not run)

chrpihl/fars documentation built on May 8, 2019, 6:51 p.m.