forensics: Forensics API

forensicsR Documentation

Forensics API

Description

Retrieve details about a given state or system

Usage

geos(state = NULL, ...)

systems(id, ...)

Arguments

state

An optional character string containing a two-letter state postal code. If NULL, results for all available states are returned.

...

Arguments passed on to ppQuery, httr::GET

args

A character string containing additional URL-encoded parameters.

verbose

Whether to display informative messages on the query.

config

Additional configuration settings such as http authentication (authenticate()), additional headers (add_headers()), cookies (set_cookies()) etc. See config() for full details and list of helpers.

handle

The handle to use with this request. If not supplied, will be retrieved and reused from the handle_pool() based on the scheme, hostname and port of the url. By default httr requests to the same scheme/host/port combo. This substantially reduces connection time, and ensures that cookies are maintained over multiple requests to the same host. See handle_pool() for more details.

id

The identification number for a particular medical examiner or coroner system.

Value

The result of the query, typically a list object.

Author(s)

Thomas J. Leeper

References

API Documentation

Examples

## Not run: 

geos("48029")

systems(39)

## End(Not run)


rOpenGov/RPublica documentation built on Jan. 13, 2023, 8:47 p.m.