Description Usage Arguments Value Examples
The function creates a filename for a .csv.bz2 based on the year
argument in a form "accident_<year>.csv.bz2".
It requires a numerical or integer input otherwise ends with an error.
1 | make_filename(year)
|
year |
Numerical or integer indicates a year of a dataset |
Return a character string in a format "accident_<year>.csv.bz2" that can be used as a filename
1 2 3 4 | ## Not run:
make_filename(2014)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.