Description Usage Arguments Value Examples
This is a simple function to create names for datasets from US National
Highway Traffic Safety Administration's Fatality Analysis Reporting System
in the working directory to use them in the relevant functions.
You can customize year in the dataset name (using the year
argument).
1 | make_filename(year)
|
year |
A number. |
This function returns file name concatinated with the year input. If input is integer or a class which can be coerced to integer, it easily return expected output, otherwise filename would include NA.
1 2 3 | ?
make_filename(2013)
make_filename(2014)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.