Description Usage Arguments Value Examples
This is a simple function that takes a year (provided by user
with year
argument), and returns a character string filename
of the format "accident_[YEAR].csv.bz2". Errors could result from
the year being given in a format that cannot be coerced to integer.
1 | make_filename(year)
|
year |
A string or numeric year. |
This function returns a string of the file name for the given 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.