fars_read_years: Create list of tibbles with yearly and monthly observations

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

This function create a list for each specified year containing a tibble with month and year columns referred to a fars_read file. It also check if there is data for the selected year.

Usage

1

Arguments

years

A vector of years from which create the lists.

Value

The function returns a list for each year containing the columns of the month and year.

Examples

1
2
3
4
5
## Not run: 
years <- c(2013,2014,2015)
fars_read_years(years)

## End(Not run)

langbart/fars documentation built on Dec. 21, 2021, 8:49 a.m.