Description Usage Arguments Value Examples
View source: R/fars_functions.R
This function should be supplied with a state number and a 4-digit year, and will draw a dot map of all the accidents occurring that year in that state.
1 | fars_map_state(state.num, year)
|
state.num |
an integer representing a US state number. Must be a state number which appears in the data file for the relevant year, otherwise an error message will result. |
year |
A 4-digit number denoting a year. Must be a year for which you have a FARS data file, otherwise an error message will result. |
A map of the accidents occuring that year in that state.
1 | fars_map_state(40,2013)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.