Description Usage Arguments Value Note Examples
Makes a filename by concatenating "accident_%d.csv.bz2" and a user-supplied year, where %d becomes the year.
1 | make_filename(year)
|
year |
An integer representing the year that will be inserted into the file name |
returns the complete file name
If year
cannot be coerced into an integer, the function will throw an error
1 2 | make_filename(2013)
## Not run: make_filename(not_a_number)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.