fars_summarize_years: Table of traffic accidents per month per year.

Description Usage Arguments Value Source Examples

Description

This function summarizes the number of traffic accidents for the requested years accross all states. The data is presented in a tabular form.

Usage

1

Arguments

years

a numerical vector of years, or a vector that can be coerced into a numerical vector. The years when data are available include 2013, 2014, and 2015.

Value

The function returns a tbl_df, tbl, data.frame class that summarizes the number of accidents that have occured across all states in any given year.

Source

US National Highway Traffic Safety Administration's Fatality Analysis Reporting System

Examples

1
 ## Not run: DTA<-fars_summarize_years(c(2013, 2014))

greegreg/fars documentation built on May 31, 2019, 8:07 a.m.