Description Usage Arguments Value Examples
View source: R/fars_functions.R
The function creates a filename for a .csv.bz2 file based on the year
argument in a form "accident_<year>.csv.bz2". It requires a numerical or
integer input otherwise ends and returns an error.
1 | make_filename(year)
|
year |
A numerical input which is defined as integer indicating a year of a data set. |
Returns a character variable in a format "accident_<year>.csv.bz2".
1 2 3 4 | ## Not run:
makefilename(2016)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.