fars_map_state: Read and plots accidents in a given state and year on a map.

Description Usage Details

View source: R/fars_functions.R

Description

Read data from a file. Plots accidents in a given state and year on a map. Returns error if the given year is invalid. Prints message if there are no accidents to plot.

Usage

1
fars_map_state(state.num, year)

Details

@param state.num integer or character

@param year integer or character

@return None

@importFrom maps map @importFrom graphics point

@seealso make_filename fars_read @examples

#fars_map_state(23,1994)

@export


robotgames/Course3Assignment documentation built on May 17, 2019, 8:17 a.m.