fars_map_state: Create map of fatal accidents

Description Usage Arguments Details See Also Examples

View source: R/fars_functions.r

Description

From specified year and state number, create a map of the accidents as included in the (FARS) data. Only data for the years 2013, 2014 or 2015 is available.

Usage

1
fars_map_state(state.num = 1, year = 2013)

Arguments

state.num

state number (numeric, 1-56)

year

(numeric)

Details

Throw an error if the state number is invalid or there are no accidents to plot

See Also

https://www.nhtsa.gov/Data/Fatality-Analysis-Reporting-System-(FARS)

Examples

1
 ## Not run: fars_map_state(1,2013)

KeesVanImmerzeel/fars documentation built on May 10, 2020, 12:32 a.m.