Description Usage Arguments Value Note Examples
This function will produce a map of accidents within a state for a given year
1 | fars_map_state(state.num, year)
|
state.num |
integer reperesenting state of interest |
year |
integer of year |
This function returns a graphics object that is a map of accidents within the given state for the given year. If there is no data for that year or the state number is invalid, the function will return a NULL.
Error returned if invalid state.num, NULL returned if no accidents occured in a given state/year
1 | ## Not run: fars_map_state(1,2014)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.