Description Usage Arguments Details Value
This function creates a map with the accidents happened in a certain year in a selected state.
1 | fars_map_state(state.num, year)
|
state.num |
a numeric value corresponding to the state code |
year |
a numeric value corresponding to a year |
If state.num doesn't correspond to a state code, the process stops. If in the selected year and state there were no accidents, a warning is shown.
a map of the selected state with point corresponding to the places where the accidents occurred in the selected year.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.