Description Usage Arguments Value
View source: R/fars_functions.R
Using the list of years, this function calculates the number of accidents per month. The accident files must have in the working directory, years can be provided as list or vector.
1 | fars_summarize_years(years)
|
years |
A vector or list of years (numeric or integer) that will be searched in the data |
Returns a pivot tibble (data frame) with months in rows and selected years in columns containing the number of accidents. Warning for each year that does not exist in the datasets. Error (no results) if a different than numeric or integer input is presented.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.