fars_map_state: Produce a map plot of fatalities for a given state and year

Description Usage Arguments Note Examples

Description

Produce a map plot of fatalities for a given state and year

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

An integer corresponding to the state number of the state for which a map plot should be drawn

year

An integer specifying the year for which the map plot should be drawn

Note

An error is thrown if the state number is invalid

A warning is given if given state did not have any fatalities for that year

Requires the map package and dplyr package

Examples

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

## End(Not run)

zumthor86/CSPackage documentation built on May 9, 2019, 8:09 a.m.