fars_read_years: fars_read_years function

Description Usage Arguments Value Examples

Description

fars_read_years(years) returns a table with the information loaded for a list of years. If an invalid year is passaed as years parameter, the data frame returned will be NULL an a warning will be delivered

Usage

1

Arguments

years

desired list of years for selecting data collected from the US National Highway Traffic Safety Administration's Fatality Analysis Reporting System, which is a nationwide census providing the American public yearly data regarding fatal injuries suffered in motor vehicle traffic crashes.

Value

a table wich contains a slide of the data from the US National Highway Traffic Safety Administration's Fatality Analysis Reporting System for a desired years

Examples

1
2
3
4
5
6
7
8
fars_read_years(c(2013,2014))


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

## End(Not run)

rainiercito/farsfunctions documentation built on May 26, 2019, 9:54 p.m.