fars_read_years: Read FARS years

Description Usage Arguments Value See Also Examples

Description

Ancillary function used by fars_summarize_years. Reads the FARS data of each specified year and returns the year and month of each fatal injury

Usage

1

Arguments

years

A vector or list with one or more years. Valid years are 2013, 2014 and 2015.

Value

A data frame (tbl_df) with variables year and month. Each row represents a fatal injury month. Returns NULL if a year in years is not valid.

See Also

fars_summarize_years

Examples

1

KvEijden/FARS documentation built on June 11, 2019, 1:30 p.m.