Description Usage Arguments Value See Also Examples
View source: R/fars_functions.R
Draw USA Map and add information on accidents by depicting their location on the map its longitude and lattitude coordonates
1 | fars_map_state(state.num, year)
|
state.num |
integer: represents the code number of a state in USA and takes it value between 1 to 56. |
year |
integer: defines the indicated year whose information on accidents is needed. |
Map or graphic object.
make_filename to create data file name in function of year
fars_read to read csv file in order to produce a rectangular table
1 2 3 4 | ## Not run:
fars_map_state(state.num = 2, year = 2013)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.