fars_map_state: Create a map to display accidents by state and year

Description Usage Arguments Details Value See Also Examples

View source: R/fars_functions.R

Description

Displays a plot with a state map including the accidents location by year.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

An Integer with the US State Code (in alphabetical order)

year

A string with the input year

Details

If the state.num is invalid the function shows an error

Value

None

See Also

fars_read

make_filename

Examples

1
2
3
4
## Not run: 
fars_map_state(49, 2015)

## End(Not run)

BFavetto/fars documentation built on Dec. 17, 2021, 9:51 a.m.