fars_summarize_years: Summarizes fars data by year

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

This function creates a tbl_df object with the number of records for each month by year. Returns an error message of Invalid year: <value> if the year value is not between 2013-2015.

Usage

1

Arguments

years

A vector of years.

Value

A tbl_df of the the number of records for each month by year. Prints the tbl_df as a side-effect.

Examples

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

## End(Not run)

rparrish/FARSmap documentation built on May 28, 2019, 12:35 a.m.