fars_map_state: Visualization fo the accident happening in certain state...

Description Usage Arguments Value Examples

Description

This function will visualize the traffic accidents happend during certain year within certain state into the geographic view

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

a integer, the code number of state

year

a integer, indicated the year's of the traffic accidents

Value

a graphical object, this function will return a plot with the accident happening at certain state with certain year, if the STATE number is not exist, show error message, if the choosen state have no accident happended, show errors

Examples

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

## End(Not run)

weitinglin/TestCreate documentation built on May 5, 2019, 8 p.m.