fars_map_state: Map State Accidents

Description Usage Arguments Value See Also

View source: R/fars_functions.R

Description

fars_map_state will plot the accidents on a map for a given state and year.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

State number

year

A year, numeric value in the form yyyy of the accidents

Value

fars_map_state will return a map plot of accidents for the given state and year. If no accidents occurred in that state for that year a notification will be provided and if an invalid state number is provided an error will be returned.

See Also

make_filename to understand how the file name is created fars_read to understand how the file is read in

@examples ## Not run: fars_map_state(40, 2014) ## End(Not run)


GHCoursera/fars documentation built on May 30, 2019, 8:25 a.m.