fars_summarize_years: Generates a table (tibble) summarizing the number of...

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

The function uses the argument years and returns a summary of accidents for years.

Usage

1

Arguments

years

An list of interger values (or values that will cast to integer) repersenting years.

Value

This function returns an (n+1) x 12 tibble where n is the number of elements in the argument years. The additional column is the month number. The value of each cell is the count of accidents by month (row) and year (column).

Examples

1
2
3
4
## Not run: #' fars_summarize_years(c(2013,2015)
fars_summarize_years(2014)

## End(Not run)

geogaffer/week4fars documentation built on Jan. 1, 2021, 2:18 a.m.