fars_map_state: Visualize accident data on a map

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

This is a function that vizualizes accident data on a map of the selected state.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

A character or numeric specifing the state code.

year

A character or numeric specifing the year.

Value

This function returns a map of the selected state with a point drawn on the map for each accident observation

Examples

1
2
fars_map_state(1, 2014)
fars_map_state("28", "2015")

vbeakovic/fars documentation built on May 14, 2019, 9:39 a.m.