fars_read_years: fars_read_years function

Description Usage Arguments Details Value

View source: R/farsFiki.R

Description

This function evaluates if the elements of a vector called "years" correspond to the years that appear in the names of the files with the format "accident_$$$$.csv.bz2" where $$$$ is the year and returns a list of data frames with year and month.

Usage

1

Arguments

years

vector of numeric values that correspond to years

Details

If a year doesn't appears in any filename, it will return a warning.

Value

a list of data frames for the valid years from object "years" containing years and months from each file.


fsigal/farsFiki documentation built on Oct. 16, 2020, 12:41 a.m.