Description Usage Arguments Value Examples
View source: R/fars_functions.R
make_filename
- A function to create a FARS reporting system datafile name for a given year.
The function converts any input to integer before constructing the file name.
1 | make_filename(year)
|
year |
The year to include in the file name. Can be numeric, integer or a characterized version of a numeric (e.g. "2003") |
Returns the full file name for the year specified as a character object.
1 2 3 4 5 | ## Not run:
make_filename(2013)
first_file <- make_filename(2011)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.