Given a state number and a four digit year, a map is generated with one data marker at the location of each fatal accident. If the state number is invalid, or if no records are found for that state, an error is returned
A state number
A four digit year
If there are multiple accidents at a location, there will be only one data point at that location on the map
1 2 3
## Not run: fars_map_state(1,2014) ## Not run: fars_map_state("3",2012) ## Not run: fars_map_state(3, "2012")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.