fars_summarize_years: Show a summary of accidents during given years

Description Usage Arguments Value Note

Description

Show a summary of accidents during given years

Usage

1

Arguments

years

a vector of integers

Value

a tibble showing summary of number of accidents by month for each input year

Note

"dplyr" package is required. If input years contains a year where no data exists, then the function will returns summary for valid years and a warning of invalid year. error and warning message are returned when the list of years contains no valid year.


richcmwang/Fars documentation built on May 5, 2019, 3:49 p.m.