Description Usage Arguments Value Examples
View source: R/fars_functions.R
This function plots a map with the locations of accidents for the selected
state and year.It calls the functions make_filename
and
fars_read
from within. T
1 | fars_map_state(state.num, year)
|
state.num |
A number representing the FARS code of the desired state. This function returns an error, if the state number if invalid. |
year |
A number representing the desired year. |
This function returns a map with the locations of accidents for the selected state and year.
1 2 3 4 5 6 | ## Not run:
fars_summarize_years(2013)
fars_summarize_years(c(2013,2014))
fars_summarize_years(2013:2015)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.