fars_map_state: Plot a state mape with locations of fatal accidents by...

Description Usage Arguments Note Examples

Description

This function creates a geographical map depicting the data on accidents with fatalities in a selected state in a particular year.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

A single number identifying the state (see Note)

year

A single number representing the year from which data is asked

Note

While the function returns NULL, a graphical representation of the state with fatal accidents is plotted by latitude and longitude

for state.num decoding table, consult p26 of the pdf document at https://crashstats.nhtsa.dot.gov/Api/Public/Publication/812315

Examples

1
2
3
## Not run: 
fars_map_state(6, 2015)
## End(Not run)

RMHoek/farsfunctions documentation built on May 22, 2019, 12:41 p.m.