fars_read_years: Read FARS years

Description Usage Arguments Value See Also Examples

View source: R/fars_function.R

Description

An auxiliary function used by fars_summarize_years to extract years and months from FARS data.

Usage

1

Arguments

years

A List of strings or numbers, which correspond to the years from which to extract data.

Value

A tibble including entries of month and year read from the different csv files of the different years provided in years, or NULL and a warning if the input is not valid.

See Also

fars_read

make_filename

fars_summarize_years

Examples

1
data <- fars_read_years(c(2014, 2015))

Anirie/TestPackage documentation built on Oct. 30, 2019, 4:54 a.m.