fars_map_state: Create of Map on the Number of incidents by state and year

Description Usage Arguments Details Value

Description

The function return a map with data points of the number of incidents happened over over a particular year and time. It he specified character(s) are plotted, centered at the coordinates and the map is limited to the state boundaries

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

a numerical value that represent the state selection in the function

year

a numerical value that represent the year when the accidents happened

Details

The function will return an Error saying that the State is not found if the state.num parameter is not found within the dataset The function will return an Error saying that there is no accidents at that particular years and state if the length of Data is 0

Value

The function will return a map graphic with points to show incidents at particular state and year


aziizsut/fars documentation built on May 8, 2019, 12:50 a.m.