Description Usage Arguments Value Examples
View source: R/fars_functions.R
This function takes year
as an input variable and returns a filename containing the input year
.
It will return "accident_NA.csv.bz2" if the input argument year
is not specified correctly.
Additionally, a warning message will be printed.
1 | make_filename(year)
|
year |
A character or numeric input variable that can be converted into an integer. |
This function returns a filename with input year
as a string.
1 2 | make_filename(2013)
make_filename(c("2013","2014"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.