Description Usage Arguments Value Note Examples
This function created a filename as accident_<YEAR>.csv.bz2, where <YEAR> is substituted
by the function input year
.
1 | make_filename(year)
|
year |
A numeric value of the year. It should correspond to the available yearly records from US National Highway Traffic Safety Administration's Fatality Analysis Reporting System. |
This function returns a character sting of the filename as accident_<YEAR>.csv.bz2, where <YEAR> is substituted by the input argument.
This function will give error if the input year
is non-numeric or non-integer.
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.