Description Usage Arguments Value Examples
Draws a map with all the accidents in an specific USA state and year. If there are no accidents for the data selected the function doesn't plot anything and a message is shown in the console.
1 | fars_map_state(state.num, year)
|
state.num |
a number of a US state either as a number or character string. If the estate number provided is not a valid state number the function throws an error. |
year |
four digit year either as a number or character string |
this function doesn't return anything. A map is drawn.
1 2 3 4 | ## Not run:
fars_map_state(20, 2013)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.