Description Usage Arguments Value Examples
View source: R/fars_functions.r
Accepts a list of years years
and provides a summary of total
accidents for each month in those years.
1 | fars_summarize_years(years)
|
years |
Years of data to be summarized. |
Returns a (data.frame) with number of accidents per month for the specified years.
importFrom dplyr bind_rows group_by summarize importFrom tidyr spread importFrom magrittr
1 2 3 4 5 6 | ## Not run:
fars_summarize_years(2013)
fars_summarize_years("2013")
fars_summarize_years(2013:2015)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.