fars_read_years: extract the data for given years

Description Usage Arguments Value

View source: R/fars_functions.R

Description

This function get vector of years, load the data belonging to that date from the file and returns a datarame of including the given years. It prints invalid year if the year is not included in the data.

Usage

1

Arguments

years

A vector of years to be filtered from the files.

Value

returns the dataframe includings the years given in the input.


mmottahedi/coursera documentation built on May 23, 2019, 5:05 a.m.