fars_map_state: Make a map of accidents in a state

Description Usage Arguments Value Note Examples

Description

This function will produce a map of accidents within a state for a given year

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

integer reperesenting state of interest

year

integer of year

Value

This function returns a graphics object that is a map of accidents within the given state for the given year. If there is no data for that year or the state number is invalid, the function will return a NULL.

Note

Error returned if invalid state.num, NULL returned if no accidents occured in a given state/year

Examples

1
## Not run: fars_map_state(1,2014)

arkansasred/faRs documentation built on May 10, 2019, 1:38 p.m.