fars_map_state: Plots the accidents on a US state map

Description Usage Arguments Value See Also Examples

Description

fars_map_state will plot the accidents on a map for a given state and year.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

State number

years

The year of concern

Value

fars_map_state will returns a plot of the accidents based on the state.num and year inputs. Returns an error if the state or year do not exist in the data set.

See Also

make_filename to understand how the file name is created fars_read to understand how the file is read in

Examples

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

## End(Not run)

xetaro/Farsdata-Project documentation built on May 27, 2019, 2:01 a.m.