Description Usage Arguments Details Value Note Examples
make_filename
produces a string containing a valid filename
1 | make_filename(year)
|
year |
An integer, or a string value representing a year |
This function requires a year as input and returns a full FARS filename.
a string that appends the input year to a filename to provide the full name of a valid fars file
If the year cannot be coerced to integer, NA is used.
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
make_filename(year = 2016)
## End(Not run)
## Not run:
make_filename(year = 'two thousand sixteen') # error
## End(Not run)
#' @export
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.