Description Usage Arguments Value Note Examples
This function reads a year number as an integer and adds it to the general filename "accident_.csv.bz2", to create a string filename "accident_YEAR.csv.bz2".
1 | make_filename(year)
|
year |
A year in numbers (character, integer or numeric) to add to the filename. |
A string of a filename as "accident_YEAR.csv.bz2", with the specified year. An error if year numbers are not character, integer or numeric. See note.
if a text different from numbers is introduced, it won't be coerced to an integer and an error will be returned.
1 2 | make_filename(2015)
make_filename("2013")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.