Description Usage Arguments Value Examples
This function take a year, converts it to an interger, and prints the new file name with the year appended to the end as a character vector (eg. "accident_1996.csv.bz2") A warning will occur if year is not supplied as a numeric value.
1 | make_filename(year)
|
year |
Numeric year value. |
Returns a character vector containing a formatted combination of text (eg. "accident_") and numeric year variable supplied.
1 | ## Not run: make_filename(1996)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.