fars_summarize_years: This functions creates a data frame containing number of...

Description Usage Arguments Value Note See Also Examples

View source: R/fars_functions.R

Description

This functions creates a data frame containing number of records available per month

Usage

1

Arguments

years

A numerical vector indicating which years to include in the output dataframe.

Value

A data frame with the variables MONTH and each year where data is avaiable, summarizing the number of observations recorded each month per year.

Note

If file does not exist for corresponding year a warning will be generated.

See Also

make_filename

fars_read_years

Examples

1
2
3
4
5
6
7
8
## Not run: 
fars_summarize_years(2013)
fars_summarize_years(2013L)
fars_summarize_years('2013')
fars_summarize_years(c(2013, 2014))
fars_summarize_years(list(2013, 2015))

## End(Not run)

lorenzo-arturo/farspackage documentation built on June 13, 2020, 12:24 a.m.