fars_read_years: Function fars_read_years - read data by years from the FARS...

Description Usage Arguments Value Examples

Description

. This function reads data from FARS files. It opens specified CSV file which name generated by fars_readmake_filename finction and it use fars_read function to open the file. It returns the data frames by specified years. if any year specified is not walid it shows error messege "invalid year: "

Usage

1

Arguments

years

a vector with the list of years

Value

This function returns data frames or NULL if the year is not valid

Examples

1
2
3
## Not run: 
fars_read_years(2013:2014)
## End(Not run)

olb1605/FARS_Package_Coursera documentation built on May 23, 2019, 4:05 a.m.