This functions takes a valid state_number and a valid year and produces a map with geolocated observations (accidents) plotted as dots on the map.
1 | fars_map_state(state_num, year)
|
@param state_num valid state_number (between 1 and 51) @param year valid year
@return A map with geolocated accidents as dots on the map
@examples fars_map_state(51, 2015)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.