fars_map_state: Map the locations of all accidents in a state

Description Usage Arguments Examples

View source: R/fars_functions.R

Description

Plot/Map the locations where accidents occurred in the specified year for the specified state. No plot is made if data does not exist for the specified state and year. Error if the state has no data for the specified year.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

integer State number as seen in FARS dataset

year

a scalar integer value

Examples

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

## End(Not run)

engAnt/week4pkg documentation built on May 24, 2019, 8:54 a.m.