fars_map_state: Draw a map of accidents

Description Usage Arguments Value Note

View source: R/fars_functions.R

Description

This function draws a map of accidents for a given year in a specific state.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

numerical state indicator

year

a 4 digits year argument

Value

This function returns a map showing the car accidents for a given year for a specific state.

Note

This function returns an error if the selected year argument does not exist in the available data sets and gives a message if no accidents to plot.


peteboe/fars documentation built on May 3, 2019, 3:17 p.m.