fars_map_state: fars_map_state function

Description Usage Arguments Details Value

View source: R/farsFiki.R

Description

This function creates a map with the accidents happened in a certain year in a selected state.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

a numeric value corresponding to the state code

year

a numeric value corresponding to a year

Details

If state.num doesn't correspond to a state code, the process stops. If in the selected year and state there were no accidents, a warning is shown.

Value

a map of the selected state with point corresponding to the places where the accidents occurred in the selected year.


fsigal/farsFiki documentation built on Oct. 16, 2020, 12:41 a.m.