fars_map_state: Build the map chart to visualize the annual results per a...

Description Usage Arguments Value Author(s) See Also Examples

Description

The function is reading raw data, manipulating them and develop the visualization via a map chart.

Usage

1
fars_map_state(state.num, year)

Arguments

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.

Value

the graphic object (image).

Author(s)

Demyd Dzyuban

See Also

fars_read, make_filename, fars_read_years, fars_summarize_years

Examples

1
## years_output <- fars_map_state(num.state, year)

demydd/Rpackagebuild documentation built on May 12, 2019, 6:27 p.m.