fars_summarize_years: Count months and years

Description Usage Value Note Examples

Description

This function reads csv files for given years, extracts the months, and counts them for each year.

Usage

1

Value

This function returns a tibble with the months in the first column and the counts for the different years in the remaining columns.

Note

This functions throws a warning if a file for the given year does not exist.

Examples

1
2
3
4
5
## Not run: 
setwd(system.file("extdata", package = "fars"))
fars_summarize_years(2013:2016)

## End(Not run)

la-sch/fars documentation built on May 20, 2019, 7:31 p.m.