Description Usage Arguments Value Examples

View source: R/fars_functions.R

This function imports and combines data from multiple files and counts the number of accidents happend in each month and year. The first column of the returned tibble represents the month index, whereas other columns represent the monthly accident counts in certain years.

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

`years` |
A numeric vector of four-digit numbers representing years. |

A tibble of monthly accident counts.

1 2 3 4 5 | ```
## Not run:
fars_summarize_years(2013)
fars_summarize_years(c(2013, 2014, 2015))
## End(Not run)
``` |

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.