Description Usage Arguments Value Examples
View source: R/fars_functions.R
fars_map_state
will plot the accidents for a provided state and year
1 | fars_map_state(state.num, year)
|
state.num |
State number |
year |
The year for which the accidents should be mapped |
The return value will be a map of accidents for a state and year. If one provides an invalid state, the function will provide an error indicating and invalid State number. Also, if no accidents were found for a state and year combination, then the function will return a message indicating that no accidents can be plotted.
1 | ## Not run: fars_map_state(3, 2014)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.