Description Usage Arguments Details Value Examples
View source: R/fars_functions.R
The function make_filename
creates a pre-defined name of a bz2 zipped
file, which is accident_year.csv.bz2. The year is the input of the function.
A warning occurs, if the input parameter is a single value but cannot be
converted into a integer, because year is then NA.
1 | make_filename(year)
|
year |
A string or number indicating the year for naming the file |
An error occurs, if the input cannot be coerced to type integer - e.g. for dataframes.
A character string, indicating the zipped file name like accident_year.csv.bz2
1 | make_filename(2013)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.