Description Usage Arguments Details Value Examples
This function construct a name for a FARS data file give a year.
1 | make_filename(year)
|
year |
An |
The function constructs a string for a FARS data file for the given year. It addes the prefix "accident_" to the given year then adds ".csv.bz2" suffix to the string.
A string
for a FARS data file for the given year.
1 2 3 4 5 6 7 8 | ## Not run:
# input year as an intger
make_filename(2013)
# input year as a character
make_filename("2014")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.