Description Usage Arguments Details Value Examples
View source: R/fars_functions.R
Plot the location of accidents in a given state and year
1 | fars_map_state(state.num, year)
|
state.num |
An integer that represents the state number. |
year |
An integer or string indicating the year. |
This function takes the state number and a year as inputs and calls the supporting
functions make_filename()
and fars_read()
.
Plots a map of the state, where the fatalities are the dots on the map.
1 2 3 4 5 | ## Not run:
setwd('data')
fars_map_state(12, 2013)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.