Description Usage Arguments Details Value Note Examples
View source: R/fars_functions.R
Function that renders on a map the location of fatal accidents that occurred in a specific State in a particular year
1 | fars_map_state(state.num, year)
|
state.num |
Integer denoting the state |
year |
Integer representing the year of interest |
Function aborts if the state number state.num is invalid
This function renders and returns a map object
Makes use of fars_read() and make_filename() functions
1 2 3 4 | ## Not run:
fars_map_state(20, 2013)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.