fars_summarize_years: Summarise FARS data

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

This function derives summary metrics for every year and month for FARS data. First it imports data using fars_read_years and then produces a pivot table showing row count for every year and month. Months are in rows and years are in column.

Usage

1

Arguments

years

a vector of years (will be coerced to integer)

...

further arguments to be passed to fars_read_years

Value

tibble having summary metrics

Examples

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

## End(Not run)

nirmalpatel/farsdata documentation built on June 1, 2017, 5:56 p.m.