Description Usage Arguments Value See Also
View source: R/fars_functions.R
fars_map_state
will plot the accidents on a map for a given state
and year.
1 | fars_map_state(state.num, year)
|
state.num |
State number |
year |
A year, numeric value in the form yyyy of the accidents |
fars_map_state
will return a map plot of accidents for the given
state and year. If no accidents occurred in that state for that year a
notification will be provided and if an invalid state number is provided
an error will be returned.
make_filename
to understand how the file name is created
fars_read
to understand how the file is read in
@examples ## Not run: fars_map_state(40, 2014) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.