Description Usage Arguments Value Examples
View source: R/fars_functions.R
This is a function that plot a map which shows the event of a year in a state.
1 | fars_map_state(state.num, year)
|
state.num |
A number index a state(see examples, other values would result in error). |
year |
A number of the year (one of 2013-2015) you want to load. |
This function returns a plot
1 2 3 4 5 | ## Not run: filename=make_filename(2013)
## Not run: print(filename)
## Not run: df=fars_read(filename)
## Not run: unique(df$STATE) #choose one of those numbers
## Not run: fars_map_state(10,2013)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.