Description Usage Arguments Value Author(s) Examples
View source: R/fars_functions.R
This function reads in the FARs data and plots the given state with each accident represented by a black dot on the plot. User should be careful that the state number exists in the data and that there are accidents for that state, otherwise slight change will give a warning.
1 | fars_map_state(state.num, year)
|
state.num |
This is the number of a state. Should be valid |
year |
This is the year being considered in YYYY format |
This function returns NULL
Jesus Obregon Dominguez, gerencia@dataengineeringperu.com
1 2 3 4 5 | ## Not run:
fars_map_state(1, 2013)
fars_map_state(4, 2013)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.