fars_summarize_years: function "fars_summarize_years"

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

The function returns a data frame with the number of accidents per month and year. The dimensions are the months per row and years per column.

Usage

1

Arguments

years

A vector of years (a vector consisting of numbers with 4 digits)

Value

This function returns a key-value pair across multiple columns (with rows per month and columns per year)

Examples

1
2
yyyys <- c(2014, 2015)
fars_summarize_years( years=yyyys )

ap-wi/fars documentation built on May 6, 2019, 4:37 p.m.