fars_summarize_years: Title: fars_summarize_read Description: The data for the...

Description Usage Arguments Value Examples

Description

Title: fars_summarize_read Description: The data for the input is read using fars_read_years function The dataframes are then unioned using a bind_rows function from dplyr. Produced df is grouped by the year and MONTH. The total number of records is then summarized with summarize function The results are represented with months as rows and years as columns using the spread fnction from tidyr. An error message pops up if file does not exist Usage: fars_summarize_years(years) Arguments: years.

Usage

1

Arguments

years

Value: A data frame with crashes for each year and month. An error message occurs if file or input does not exist.

Value

fars_summarize_years

Examples

1
2
3
4
## Not run: 
   fars_summarize_years(2013)

## End(Not run)

latsa001/Coursera-Assignment-Build-an-R-Package documentation built on May 20, 2019, 12:36 p.m.