Description Usage Arguments Examples
internal functions needed are make_filename() and fars_read() external packages needed are: dplyr,maps, graphics. functiion filter() from dplyr, map() from maps and points () from graphics are used.
1 | fars_map_state(state.num, year)
|
state.num |
is state ID number (one interger from unique(data$STATE) if invalid state number used, the function will stop. |
year |
is a single year as the argument for make_filename() function. |
1 2 | ## state_num <- 49 # Utah
## yr <- 2014
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.