fars_summarize_years: Summarize Fatality Analysis Reporting System data for the...

Description Usage Arguments Value Note Examples

View source: R/fars_functions.R

Description

This function summarizes Fatality Analysis Reporting System data for the years (using the years argument) and returns a data.frame of the number of fatality cases (accidents) per each month for the years specified.

Usage

1

Arguments

years

A vector of years

Value

A data.frame of the number of fatality cases per each month (rows) for the years(columns)

Note

Any invalid year in the vector of years is ignored for summary, with warning messages "invalid year: yyyy"

Examples

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

## End(Not run)

atibot/tobitar documentation built on May 28, 2019, 6:35 p.m.