fars_summarize_years: Summarize data sets by No. of occurrences in a specific year.

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

This function combines month and year data frames returned by fars_read_years to create a new data frame and summarizes the new data frame by No. of occurrences of each year in years.

Usage

1

Arguments

years

A list of strings of years that can be used to read files

Value

a new data frame that has the total No. of occurrences of accidents for each year in years.

Examples

1
## Not run: fars_summarize_years({"1996", "2013","2014"})

yecong/accdata documentation built on May 5, 2019, 11:01 p.m.