Description Usage Arguments Value Note
View source: R/FarsFunctions.R
Creates a low-quality map of accidents in a state for a given year
1 | fars_map_state(state.num, year)
|
state.num |
takes a state-number |
year |
a year–not a list of years |
a map showing accident locations for the year
ERRORS: Will give errors (and warnings) for invalid state or year inputs. Valid state inputs include most of the numbers from 1:56, excluding 3, 7, 14, 43, & 52. Many return bad maps. Valid year inputs include 2013, 2014, 2015. Will give a warning message and no map if there are no accidents to plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.