Description Usage Arguments Value Note Examples
This function creates a file name of the structure:
accident_[YEAR].csv.bz2
given the year.
1 | make_filename(year)
|
year |
numeric or character with a year number |
a character with the full file name
This function will return "accident_NA.csv.bz2"
and
throw a warning if the year argument cannot be transoformed to integer
1 2 3 4 5 | # acceptable input
make_filename(2015)
make_filename("2015")
# wrong input
make_filename("two thousand fifteen")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.