Description Usage Arguments Details Value Examples
The function counts the number of accidents that occurred in each month of the specified years.
1 | fars_summarize_years(years)
|
years |
an integer vector specifying which years should be imported into R |
Internally, the function builds on the function fars_read_years
and summarises the data by counting the number of month-year occurrences.
The function returns a tibble with the number of accidents that occurred in a specific month of a specified year. The months (1-12) are shown in rows and the years in columns.
1 2 3 4 | ## Not run:
fars_summarize_years(c(2013, 2014))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.