Description Usage Arguments Value Note Examples
View source: R/fars_functions.r
Read in csv for year
and plot all the accidents in state
on a map.
1 | fars_map_state(state.num, year)
|
state.num |
An integer state.num number |
year |
An integer year |
This function returns a list of tibbles
function will produce an error if there is no state data for
the state.num
selected.
function will produce a warning if there are no accidents in state, year combination in data
1 | fars_map_state(1, 2013)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.