fars_map_state: Show the location of fatal accidents

Description Usage Arguments Note Examples

Description

Given a state number and a four digit year, a map is generated with one data marker at the location of each fatal accident. If the state number is invalid, or if no records are found for that state, an error is returned

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

A state number

year

A four digit year

Note

If there are multiple accidents at a location, there will be only one data point at that location on the map

Examples

1
2
3
  ## Not run: fars_map_state(1,2014)
  ## Not run: fars_map_state("3",2012)
  ## Not run: fars_map_state(3, "2012")

gwis999/FSH documentation built on May 22, 2019, 2:39 p.m.