fars_read_years: Only year based csv file loading This file uses the only...

Description Usage Arguments Value Examples

Description

Only year based csv file loading This file uses the only value of a year to import csv files having names, generated by make_filename function. Then it selects year and month from each imported files and store it an a list.

Usage

1

Arguments

years

A parameter which identifies which years are used to search and read files

Value

List of dataframes, where each data frame corresponds to initial .csv file and have two columns: month and year is returned. In case of absence of the requested .csv file to import, list value for it is NULL and warning message is produced.

Examples

1
2
3
4
## Not run: 
fars_read_years(years=c(2011,2012,2013))
 fars_read_years(years=seq(from=2011, to=2015))
## End(Not run)

Yailama/assignment4 documentation built on May 10, 2019, midnight