fars_map_state: Summarize data from multiple years from the Fatality Analysis...

Description Usage Arguments Value Examples

Description

Displays data from the Fatality Analysis Reporting System for one year and one state on a map. make_filename and fars_read are used to retrieve the data. Error message is generated if the state number is not valid or there were no traffic fatalities recorded in that year and state.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

Number of the state to be mapped.

year

Year of data to be used. Current dataset contains years 2013-2015.

Value

A map showing the location of the traffic fatalities recorded.

Examples

1
2
3
4
## Not run: 
fars_map_state(33, 2013)

## End(Not run)

julianbarg/farsfunctions documentation built on May 5, 2019, 1:36 a.m.