Description Usage Arguments Value Examples
Makes a plot of Fatality Analysis Reporting System (FARS) data for a given state number and year.
1 | fars_map_state(state.num, year, path = "inst/extdata")
|
state.num |
The integer number of the state to be plotted, from 1-56. |
year |
The year to be plotted |
path |
The path to the FARS data file to read. The default is the path to the three supplied raw data files. |
A maps object.
1 2 | ## Not run: fars_map_state(state.num = 10, year = 2014) # Returns a map for state 10.
## Not run: fars_map_state(state.num = 100, year = 2014) # Returns an error.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.