fars_summarize_years: Summarises FARS data for multiple years

Description Usage Arguments Value Note Examples

View source: R/fars_functions.R

Description

Reads in data for each year and summarises the counts of events by month and year.

Usage

1

Arguments

years

string or numeric that indicates the years to be summarised.

Value

tbl_df with columns being the years summarised and rows being the months and each entry being the number of events

Note

Warning: Will not work if years are not in 2013, 2014, or 2015 as those are the only years with data files

Examples

1
## Not run: fars_summarize_years(2013:2014)

dhaycraft/trafficR documentation built on Nov. 4, 2019, 10:30 a.m.