Description Usage Arguments Value Note Examples
View source: R/fars_functions.R
Display map of fatalities
1 | fars_map_state(state.num, year)
|
state.num |
Integer state number as defined by the US Census Bureau |
year |
Integer specifying the year of interest |
A plot of all fatal accidents for the given state during the given year
Using a state number that does not exist will throw an error. Also, only the contiguous 48 states and District of Columbia can be mapped
1 | ## Not run: fars_map_state(26, 2015)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.