Description Usage Arguments Details See Also Examples
View source: R/fars_functions.r
From specified year and state number, create a map of the accidents as included in the (FARS) data. Only data for the years 2013, 2014 or 2015 is available.
1 | fars_map_state(state.num = 1, year = 2013)
|
state.num |
state number (numeric, 1-56) |
year |
(numeric) |
Throw an error if the state number is invalid or there are no accidents to plot
https://www.nhtsa.gov/Data/Fatality-Analysis-Reporting-System-(FARS)
1 | ## Not run: fars_map_state(1,2013)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.