fars_map_state: This function gets passed a specific state and year, then...

Description Usage Arguments Value Note Examples

Description

This function gets passed a specific state and year, then gets associated data. If the state exists, it filters the data per state and plots accidents for that state.

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

A number indicating a state

year

A number indicating the year

Value

This function creates a graph for a specific state and year

Note

This function returns an error if the state number is not valid

Examples

1
2
3
4
## Not run: 
fars_map_state(state.num=1,year=2015)

## End(Not run)

jluthy/Demo-fars_functions documentation built on May 13, 2019, 5:24 p.m.