fars_read_years: Create a months and years dataframe for a given number of...

Description Usage Arguments Details Value Examples

View source: R/fars_fn.R

Description

This function reads multiple comma separated values files for a given number of years, then create an aggregated view of months and years from the read files.

Usage

1

Arguments

years

Integers vector

Details

This function throws an error message if the file matching the given year does not exist.

Value

This function returns an aggregated dataframe of months for each year from the read files.

Examples

1
2
3
4
5
## Not run: 
fars_read_years(2020)
fars_read_years(c(2001, 2002))

## End(Not run)

mohamadnossier/farsAnalyst documentation built on May 17, 2020, 12:24 a.m.