Description Usage Arguments Details Value Examples
This function makes a file name by entering a year. You can specify the year
by using the year
argument.
1 | make_filename(year)
|
year |
A character or integer vector specifying the year(s) (YYYY format). |
First, the function turns the year input into a integer, creating a numerical vector. The function then returns a character vector containing a formatted combination of text and variable values to specific a valid data file name for the desired year.
This function returns a character string with the correct file name for the specified year.
1 2 | make_filename(2013)
make_filename(c(2014, 2015))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.