Description Usage Arguments Value
View source: R/fars_functions.R
Summarize data read for multiple years by number of accidents per month
1 | fars_summarize_years(years)
|
years |
(integer or character) vector or list of the years for which to read data. The 'years' parameter must be supplied in a form which can be converted to integer year value (by 'as.integer'). This function depends on several functions from the dplyr package: bind_rows, group_by, and summarize. It also depends on tidyr::spread. |
(data frame, tbl_df, tbl) a data frame containing the accident count of every year selected (one column per year) computed by month (one row per month)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.