Description Usage Arguments Details Value Examples
View source: R/fars_functions.R
create a data file name given an input year
1 | make_filename(year)
|
year |
param with the year information will be coerced to a integer |
The function ettempts to explicitly convert the year param to an integer. This may return NA resulting in "accident_NA.csv.bz2" as the returned file name as well as a warning message
#'
string of the form "accident_yyyy.csv.bz2" where yyyy repersents the value passed in the "year" param
1 2 3 4 5 | ## Not run:
make_filename("2013")
make_filename("2013a")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.