Description Usage Arguments Value Examples
Uses helper functions years and fars_read_years function to read each csv file. the dplyr bind_rows function combines the data frames into dat_list object then groups by year and month. The year and number of accidents for each month are spread to columns.
1 | fars_summarize_years(years)
|
years |
(c(2013,2014,2015)) |
a tibble
1 | fars_summarize_years(c(2013,2014,2015))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.