fars_summarize_years: This function perform the summarization which consist in the...

Description Usage Arguments Value Examples

View source: R/fars.R

Description

This function perform the summarization which consist in the lines number of each dataset, and bind the separated dataset into one data.frame (using bind_rows). Later transform rows into column by the spread function. As a result, years in columns rows as months.

Usage

1

Arguments

years

Could be a single year or a list pf years.

Value

The return will be a data.frame with years in columns and months in rows. Each row represent the number of accidents.

Examples

1
## Not run: fars_summarize_years(years = list(2013,2014,2015))

Vaibhav291086/Vaibhav291086-Building_R_Packages documentation built on Dec. 18, 2021, 6:14 p.m.