fars_read_years: Read multiple .csv data file for a series a provided years

Description Usage Arguments Details Value Examples

Description

This function take as input a vector of integers (years) representig years, make the defalut filename for each year, and read the data in and convert it into data frame.

Usage

1

Arguments

years

A vector of integers representing a series of years

Details

For each year with no data file, the function returns an error message.

Value

This function returns a dataframe with 2 columns for each year, representing month number and year of each recorded data

Examples

1
2
3
4
5
## Not run: 
fars_read_years(2013)
fars_read_years(2013:2015)

## End(Not run)

frenkg/courserafarsfg1 documentation built on May 16, 2019, 2:55 p.m.