Description Usage Arguments Value Examples
View source: R/fars_functions.R
This function appends the year to the filename. The function take the year as an argument to append to standard file
name "accident_year
.csv"
1 | make_filename(year)
|
year |
A character string or numeric as year |
the function prints the static filename appended with year name passed as argument. The functions throws an error when a non character or non numeric value is passed as an argument.
1 2 3 | ## Not run: make_filename(1976)
## Not run: make_filename("1976")
## Not run: make_filename(76)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.