Description Usage Arguments Value Examples
View source: R/c_fars_functions.R
This function takes input corresponding to a state number and year rows and returns a map of the FARS data with dots at the longitude an lattitude for each fatal accident from that year.
1 | fars_map_state(state.num, year)
|
state.num |
a number with the state.num code for the state to be mapped |
year |
a number for the year for FARS data accidents to be plotted in the map. |
This function returns a map in the Plots tab using data from the FARS data
for the year
input, filtered for the STATE column = year
state.num
If there is no file for an element of years
then a warning is given for
that year.
1 | ## Not run: fars_map_state(55,2013)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.