Description Usage Arguments Note Examples
This function takes 'state number' and 'year' as input and verifies if its a valid state number and then check if the number of accidents is NONE or not. If not then reads the latitude and longitude and plots it on graphical maps
1 | fars_map_state(state.num, year)
|
state.num |
Input is a numerical value which references a state |
year |
Input should be numerical value denoting year. |
It throws an error if state number is not valid and prints"invalid state number" state.num" It returns a message "no accidents found" if number of accidents for specified state and year is 0.
1 | fars_map_state(12,2015)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.