Description Usage Arguments Value Examples
View source: R/fars_functions.R
Based on the list of years, the function calculates the number of accidents in the US on a monthly basis. The accident files need to be in the working directory, the years can be passed as a list or a vector.
1 | fars_summarize_years(years)
|
years |
A vector or list of years (numeric or integer) that will be searched in the data |
a tibble with months in rows and selected years in columns containing the number of accidents.
1 2 3 4 | ## Not run:
fars_summarize_years(2014:2015)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.