fars_map_state: Map the accident for a specific year accross a state

Description Usage Arguments Value Note See Also Examples

Description

Match a state number and year to the Fatality Analysis Reporting System dataset. And produce a scatter plot of incident within a map af the state

Usage

1
fars_map_state(state.num, year,fars_path)

Arguments

state.num

number identifying a statse in US character, integer or numeric

year

4 digit year character, integer or numeric

fars_path

charcter string correspondinf to the directory contianing the fars data

Value

a map object

Note

See Also

make_filename

fars_read

Examples

1
2
3
4
5
6
## Not run: 
# need to be in the same directory as the data
setwd("data")
my_map <- fars_map_state(1,2013)

## End(Not run)

BreizhZut/Fars documentation built on May 27, 2019, 2:04 p.m.