fars_read_years: This functions will import several years by the using of the...

Description Usage Arguments Value Examples

View source: R/fars.R

Description

This functions will import several years by the using of the fars_read function many times. There are some data manipulation as a creation of a column called year (using mutate) and a selection of two variable per year.

Usage

1

Arguments

years

Could be a single year or a list of years.

Value

The results of this function will be a list with only the columns MONTH and year, as you can confirm watching the select(MONTH, year). If any year in the list was invalid the function show a warning message.

Examples

1
## Not run: fars_read_years(years = list(2013,2014,2015))

Vaibhav291086/Vaibhav291086-Building_R_Packages documentation built on Dec. 18, 2021, 6:14 p.m.