Description Usage Arguments Details Value Examples
View source: R/fars_functions.R
Function that plots location data for a US state and year specified by the arguments state.num
and year
.
1 | fars_map_state(state.num, year)
|
state.num |
Number of the state for which to extract data. Only |
year |
Year to be included in the file name |
fars_map_state
is built on the fars_read and make_filename functions.
This function returns a map plot created with map, displaying
location information for the selected US state and year. The function returns an error it the
state.num
or year
are not valid or if there are no observations for the chosen state.num
and year
.
1 2 3 4 | ## Not run:
fars_map_state(28,2014)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.