Description Usage Arguments Value
View source: R/fars_functions.R
The FARS accidents data is available as year based CSV file. The function takes the year and assumes the filename convention for FARS data and returns the filename for the given year.
1 | make_filename(year)
|
year |
The year for which the filename is required. It could be any value that could coerced into integer, else it will prompt for error. |
This function returns the string filename which if exists contain the data for the accidents during that year
examples fars::make_filename(2021)
No export
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.