fars_summarize_years: Summarize monthly accidents per year

Description Usage Arguments Value Note

View source: R/fars_functions.R

Description

This is a simple function that creates a wide table containing the monthly number of accidents for a given vector of years.

Usage

1

Arguments

years

a vector of 4 digits years.

Value

This function returns a tibble with 12 rows for each month and the selected years as variables.

Note

This function returns an error if the selected year argument does not exist in the available data sets.


peteboe/fars documentation built on May 3, 2019, 3:17 p.m.