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
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.