fars_read_years: Read month and year from accident_<year>.csv

Description Usage Arguments Details Value

Description

The function takes year vector as input and reads data for the specific year csv files and returns a data frame of MONTH and year found in all of the year range csv files. It reports with an error if any invalid year is specified.

Usage

1

Arguments

years

A vectorof year.

Details

The function contructs a new filename.

Value

This function returns a data frame of month and year as columns.


chinmaymandal/Assignment3.2.1 documentation built on May 13, 2019, 5:26 p.m.