fars_map_state: Map State

Description Usage Arguments Details Value Examples

Description

The function prints a map of accident locations for a given state

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

ID of the state.

year

Year.

Details

The function can give an error if the STATE number is invalid. It can also produce an error if the year is invalid and so the data file cannot be read. The function uses make_filename(), fars_read(), so it can produce an error also whenever these funtions would.

Value

The function returns a printed map of the state with marked accident locations.

Examples

1
2
3
4
## Not run: 
fars_map_state(6,2013)

## End(Not run)

IdleImpala/fars documentation built on May 3, 2019, 8:34 p.m.