View source: R/fars_functions.R
Read data from a file. Plots accidents in a given state and year on a map. Returns error if the given year is invalid. Prints message if there are no accidents to plot.
1 | fars_map_state(state.num, year)
|
@param state.num integer or character
@param year integer or character
@return None
@importFrom maps map @importFrom graphics point
@seealso make_filename
fars_read
@examples
#fars_map_state(23,1994)
@export
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.