fars_summarize_years: Summarizing the amount of records per Month and year for a...

Description Usage Arguments Value Note Examples

View source: R/fars_functions.R

Description

This function takes a year or a vector of years as input and gives back a data frame showing the amount of records for each month and each year for each input year from the FARS data.

Usage

1

Arguments

years

A year or a vector of years for which you assume that FARS data is available, e.g. "2015", c(2014:2015), 2014:2016

Value

This function returns the amount of records for each month and year from the FARS data given the argument year.

Note

The function brings up a warning in case the data does not exist for the year provided to the function.

Examples

1
2

PatGruetter/FARSPackage documentation built on Dec. 23, 2019, 7:34 p.m.