fars_map_state: Plot incidents on map

Description Usage Arguments Examples

View source: R/fars_functions.R

Description

If there is data for a specified state.num, fars_map_state plots incidents on a map. The canvas limit is set to greater than 900 Longitude and 90 Latitude. If there is no data for a specified state.num the function exits with an error.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

State number as one-dimensional numeric vector

year

The year of interest provided as either character or numeric

Examples

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

## End(Not run)

niklaas/fars documentation built on May 5, 2019, 1:38 p.m.