fars_summarize_years: Summarise Fatality Analysis Reporting System data

Description Usage Arguments Value Note Examples

View source: R/fars_summarize_years.R

Description

This function calculates the number of accidents per month in selected years.

Usage

1

Arguments

years

A vector of years to read the datasets for

Value

The function returns a tibble with number of cases.

Note

The files should be named 'accident_year.csv.bz2' otherwise the function will return an error.

Examples

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

## End(Not run)

a7n7k7a7/farsData documentation built on May 28, 2019, 3:57 p.m.