fars_read_years: Create new data files from the FARS data

Description Usage Arguments Details Value

View source: R/fars_project.R

Description

Create new data files from the FARS data

Usage

1

Arguments

years

Desired range of years as numeric values. If a year is incorrect, a message is issued.

Details

Uses the dplyr function to create a new data files with month and year variables. If the year is not valid, an error essage will be issued.

Uses the function make_filename and fars_read

Value

Returns a filtered list of dataframes with a year and month variable or NULL if it doesn't exist.


cowboy2718/FARS documentation built on May 17, 2019, 7:01 p.m.