fars_read_years: Generate a dataframe with months and years for a provided...

Description Usage Arguments Details Value Examples

Description

This function reads multiple csv files for a given series of years, to provide an overview of months and years in those files.

Usage

1

Arguments

years

A vector of integers

Details

If a year is provided for which no data file is found, the function returns an error message.

Value

This function returns a dataframe with for each year the month numbers in the datafile.

Examples

1
2
3
4
5
## Not run: 
fars_read_years(2017)
fars_read_years(c(2013, 2014, 2015))

## End(Not run)

VeerlevanLeemput/fars documentation built on May 24, 2019, 7:21 p.m.