Description Usage Arguments Value Note Examples
Coerces input to integer(s) and inserts into "accident_<year>.csv.bz2" at '<year>' returning the result.
1 | make_filename(year)
|
year |
A numeric, integer or numeric string that will be coerced to an integer and inserted into the "accident_<year>.csv.bz2" string at <year>. |
Returns string(a) "accident_<year>.csv.bz2" with intergerised input at '<year>'
If input cannot be coerced to integer(s) warning will result and NA(s) will be returned.
1 2 3 4 5 | ## Not run:
make_filename(2018)
make_filename('2018')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.