Description Usage Arguments Value Note Examples
Given a year as input return the FARS filename containing data for that year.
1 | make_filename(year)
|
year |
A value that can be coerced to an integer and that represents a year. |
A character vector that is the filename of the FARS file containing data for the year given as input.
The input variable year must be castable to an integer or it will be coerced to NA.
1 2 3 4 5 | ## Not run:
make_filename(2015)
make_filename("2014")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.