fars_map_state: Reads data from FARS file for specific year & plot it's...

Description Usage Arguments Value Note Examples

Description

Reads data from FARS file for specific year & plot it's accidents in specific state on map

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

An integer value representing state number to plot

year

An integer value representing year to plot

Value

NULL It will plot a graphical view of accidents happening in the provided state.

Note

This function requires a valid integer value for year, otherwise it will result in error. It also requires a valid integer for representing state number which should be present in data.

Examples

1
2
3
4
## Not run: 
fars_map_state(state.num = 4, year=2013)

## End(Not run)

abhinavcreed13/farsPackage documentation built on May 10, 2019, 3:15 a.m.