Description Usage Arguments Value Examples
View source: R/fars_functions.R
This function makes a file name. First, the inputted year will be converted to an integer. The value must be a simple year without quotes. Second, the year will be added to the middle of a string that represents the main pattern of the file name, in the placeholder for an integer.
1 | make_filename(year)
|
year |
A number representing the desired year. |
This function returns a character vector with a combination of the main string and the year inputted.
1 2 3 4 5 6 | ## Not run:
make_filename(2013)
make_filename(2014)
make_filename(2015)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.