Description Usage Arguments Value Examples

View source: R/fars_functions.R

This is a function that summarizes counts of the number of accidents per month for a given set of years from accident data files.

1 | ```
fars_summarize_years(years)
``` |

`years` |
A vector of years for which to summarize accident months |

This function returns a dplyr::tbl_df object for with a column for each provided year and a row for each month. The values in the data frame are counts of accidents for the corresponding month and year.

1 | ```
## Not run: fars_summarize_years(c(2013,2014)
``` |

milandv/courserafars documentation built on March 19, 2018, 3:12 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.