fars_map_state: Title fars_map_state

Description Usage Arguments Details Value Examples

Description

Accepts a state number and year from the user/calling program Makes the appropriate filename using the year and the make_filename function gets a data frame from fars_read()

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

Number of a state

year

The year in question

Details

Error checks to make sure the state number exists If so, uses maps and graphics to create plots based on latitude and longitude from the data file

Uses make_filename(year) fars_read(filename)

Value

A plot or set of plots based on latitude and longitude from the data file

Examples

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

## End(Not run)

drglcc/packFars documentation built on May 24, 2019, 4:01 a.m.