Description Usage Arguments Value Examples
This function is to take a year as an input Then create and print a name of a file with format "accident_X.csv.bz2" where X is the input year. It will cause error if the file of the input year does not exist.
1 | make_filename(year)
|
year |
the input year as integer or string that when the file was generated |
make_filename this function returns a character vector of file name "accident_X.csv.bz2" where X will be replaced by the year
1 2 3 4 | ## Not run:
make_filename(2013)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.