fars_read_years: Keeping month and year information

Description Usage Arguments Value Note

Description

Only keeps month and year of accidents for a given input vector of years specified in the years argument.

Usage

1

Arguments

years

A vector of integers (or numerics) specifying some years.

Value

This function returns a list with same length as the input vector years. To each year given in the input vector years corresponds an element of the list, which is

Note

If the data for a year given in the input vector years are not available, then a Warning message "invalid year" is also issued.


NataKouA/traffan documentation built on May 3, 2019, 3:38 p.m.