fars_summarize_years: Summarize Observations by Year

Description Usage Arguments Value See Also Examples

View source: R/fars_functions.R

Description

fars_summarize_years reads in multiple Fatality Analysis Reporting System data files based on the years provided and summarise the number of observations by month and year.

Usage

1

Arguments

years

The years relating to the file names to be read in

Value

fars_summarize_years will return a wide-formatted data frame. One row for each month, the month number in the first column (MONTH)

See Also

fars_read_years to understand how the file name is created

Examples

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

## End(Not run)

GHCoursera/fars documentation built on May 30, 2019, 8:25 a.m.