fars_summarize_years: Summarize the data based on years

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

This is a function that reads multiple fars data files based on a list of years and provides the sum of data points for each year and month

Usage

1

Arguments

years

A list of integers representing the years to include.

Value

This function returns a tibble with the number of accidents grouped by year and month.

Examples

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

## End(Not run)

albemlee/DataScienceRPackageAssignment documentation built on May 14, 2019, 8 a.m.