Description Usage Arguments Value Author(s) See Also Examples
The function is reading raw data, manipulating them and develop the visualization via a map chart.
1 | fars_map_state(state.num, year)
|
state.num |
The number of the state to read archived data (integer of character). It could be as integer or character vector. If state.num variable is of the wrong format or value so the function is stopped and error message is generated. |
year |
The year of the accident data to be read from archive file. It could be as integer or character vector. If year variable is of the wrong format so the function is stopped and R internal message is generated. |
the graphic object (image).
Demyd Dzyuban
fars_read
, make_filename
, fars_read_years
, fars_summarize_years
1 | ## years_output <- fars_map_state(num.state, year)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.