Description Usage Arguments Value Examples
this function creates a map by State of the cases in that State. It takes into account the longitud and latitud of the case. The function produces an error when the state is invalid
1 | fars_map_state(state.num, year)
|
state.num |
a number representing the state to be graphed |
year |
the year to be graphed |
returns a map showing the accidents in the state
1 | ## Not run: fars_map_state(1, 2013) will produce a map of accidents for state 1 in 2013
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.