Description Usage Arguments Details Value Examples
This function gives a name to your compressed csv file. The form of the name is accident_[wantedYear].csv.bz2.
1 | make_filename(year)
|
year |
- can be either in character or integer form, but it has to be a number. See examples below. |
this function uses 'sprintf' function from base package.
this function will return a string of your new filename with specified year
1 2 3 4 5 | ## Not run:
make_filename(2015)
make_filename("2017")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.