fars_map_state: Map of fatalities by location

Description Usage Arguments Details Value Examples

Description

Plot the location of fatalities on a state map

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

The state number

year

The year to use the FARS data

Details

The function checks for a valid state.num. Then it filters the accidents for the state. If there aren no accidents, then a message is provided.

Value

a map object

Examples

1
2
3
4
## Not run: 
fars_map_state(1, 2013)

## End(Not run)

utkarshphirke/fars documentation built on May 7, 2019, 6:10 a.m.