fars_read_years: Read Fatality Analysis Reporting System's data for years

Description Usage Arguments Details Value Note Examples

View source: R/assignment_w2.R

Description

Reads the corresponding csv's for each of the years provided

Usage

1

Arguments

years

Vector of years to be read.

Details

If the file does not exist an error will be thrown.

Value

List with the dataframes for each year.

Note

this function depends on dplyr mutate and select functions

Examples

1
## Not run: fars_read_years(c("2013", "2014"))

AleOlguin12/FARS documentation built on July 11, 2020, 1:03 p.m.