fars_map_state: fars_map_state

Description Usage Arguments Value Note

View source: R/FarsFunctions.R

Description

Creates a low-quality map of accidents in a state for a given year

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

takes a state-number

year

a year–not a list of years

Value

a map showing accident locations for the year

Note

ERRORS: Will give errors (and warnings) for invalid state or year inputs. Valid state inputs include most of the numbers from 1:56, excluding 3, 7, 14, 43, & 52. Many return bad maps. Valid year inputs include 2013, 2014, 2015. Will give a warning message and no map if there are no accidents to plot


cmpear/FarsFunctions documentation built on Dec. 11, 2019, 5:30 a.m.