Description Usage Arguments Details Value Examples
Map Traffic Accidents by State and Year
1 | fars_map_state(state.num, year)
|
state.num |
State number as defined in the csv file - should be an integer between 1 and 50 |
year |
Year to be queried for number of accidents - should be an integer for the years 2013 through 2015 |
A function that reads data from the US National Highway Traffic Safety Administration's Fatality Analysis Reporting System and maps the number of fatalities for one state for a particular year
Will report an error if there is an invalid state number or if there are no accidents in that state in the specified year or if multiple states or years are chosen
A map of a state, with points notating accidents for that year
1 | fars_map_state(12, 2015)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.