fars_map_state: Query accidents for a specific State and year

Description Usage Arguments Value Note Examples

Description

This function serves to extract fars accidents for a specific state and year and, if present, print a map with accidents

Usage

1
fars_map_state(state.num, year)

Arguments

state.num

The State ID number (from 1 to 56) for the State to be queried

year

A four digit number of the year the accidents need to be extracted for

Value

This function prints a map of the specified State with dots for each documented accident

Note

Error messages are displayed in case an invalid State id number is used as an argument or it's not present and in case no accidents are documented for the specified State and year

Examples

1
## Not run: fars_map_state(33, 2014)

ricrossi/qfars documentation built on May 29, 2019, 1:19 p.m.