Description Usage Arguments Value
This function returns a plot of all accidents in a state for the year provided. An error will occur if invalid state.num provided. If no accidents exist for state.num and year provided, a message will be reutrned stating this.
1 | fars_map_state(state.num, year)
|
state.num |
id of state of interest |
year |
Year to plot accidents for. |
Returns a state map for the state.num provided for the year provided, with a point in the geographic location of each accident that occured.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.