fars_map_state: Plot accidents by sate by year

Description Usage Arguments Value Examples

Description

This function takes state number and a year and creates a plot of accidents overlayed over a polygon of a state

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

a numeric value normally between 1 and 52. The value is validated against unique values in the dataframe

year

number or string that can be coerced to a number

Value

This function produces a plot and returns NULL

Examples

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

## End(Not run)

kostya75/kmfars2 documentation built on June 5, 2019, 5:14 p.m.