fars_map_state: Plots the fatal occurences for a given state and year

Description Usage Arguments Note Examples

View source: R/fars_functions.R

Description

This function takes a state number and year, and plots the location of each occurence during that year and on that state on a map using the maps::map function.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

A number for the state.

year

A number.

Note

The functions is stopped and an error is returned if the file containing that year's data cannot be read, or if the state's number is invalid.

Examples

1
## Not run: fars_map_state(1, 2013)

adbjesus/assignment04 documentation built on July 2, 2020, 6:24 p.m.