fars_map_state: Plot incidents from a single year on state map

Description Usage Arguments Value Note Examples

Description

This function genreates a plot showing the location of each incident in the defined year and state

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

Serial number of state - integer

year

year to plot - integer

Value

plot with state map outlined and incident location shown as points on the map

Note

ERROR if following conditions not met: Files must be in working directory and filenames must be of format "accident_<year>.csv.bz2"

Examples

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

## End(Not run)

cawrence391/FARSlawrence documentation built on May 15, 2019, 1:28 p.m.