fars_summarize_years: Summarize the number of accidents for each year and month

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

This function summarizes the number of accidents for each month in the selected years.

Usage

1

Arguments

years

A vector of years from which summarize the monthly number of observations.

Value

The function return a tibble summarizing the number of observations for each month in the selected years.

Examples

1
2
3
4
5
6
## Not run: 
library(dplyr)
years <- c(2013,2014)
fars_summarize_years(years)

## End(Not run)

langbart/fars documentation built on Dec. 21, 2021, 8:49 a.m.