Description Usage Arguments Value Note Examples
This function serves to extract fars accidents for a specific state and year and, if present, print a map with accidents
1 | fars_map_state(state.num, year)
|
state.num |
The State ID number (from 1 to 56) for the State to be queried |
year |
A four digit number of the year the accidents need to be extracted for |
This function prints a map of the specified State with dots for each documented accident
Error messages are displayed in case an invalid State id number is used as an argument or it's not present and in case no accidents are documented for the specified State and year
1 | ## Not run: fars_map_state(33, 2014)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.