This function accepts a vector or list of years
years, where the records from US
National Highway Traffic Safety Administration's Fatality Analysis Reporting System should
be available. It calculates a number of accidents per month and year and returns a tibble
(data.frame) with months in rows and years in columns.
A vector or list (numeric or integer) with the years of accident records.
This function returns a tibble (data.frame) with number of accidents per month and year from the indicated years of records.
This function will give error if the files are not located in the working directory or
if the input
year is non-numeric or non-integer.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.