fars_map_state: Plot the locations of accidents happend in a given state and...

Description Usage Arguments Note Examples

Description

This function plots a map with dots representing the locations of accidents happened in a given state and year.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

An integer that represents a state

year

An integer of 4 digits that represents a year

Note

This function will throw an error when the input state.num value is not valid.

Examples

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

## End(Not run)

yzhang3142/fars documentation built on May 28, 2019, 7:38 a.m.