Read depredation calls
dep_read_calls.RdRetrieve depredation call records from the telemetry API. All filter parameters are optional; omit them to return all calls.
Usage
dep_read_calls(
id = NULL,
event_id = NULL,
caller = NULL,
caller_role = NULL,
reason = NULL,
confidence = NULL,
place = NULL,
called_at = NULL,
includes = NULL,
page_args = list(),
dry_run = FALSE,
verbosity = 0
)Arguments
- id
Integer vector. Filter by call ID(s).
- event_id
Integer vector. Filter by parent event ID(s).
- caller
Character. Filter by caller name (partial match).
- caller_role
Character vector. Filter by caller role. See
dep_caller_roles().- reason
Character vector. Filter by reason. See
dep_reasons().- confidence
Character vector. Filter by confidence level. See
dep_confidence().- place
Character. Filter by place name (partial match).
- called_at
Character. Filter by call date (e.g.
"2024-01-01,2024-12-31"for a range).- includes
Character vector of related resources to include in the response. Valid values:
"calls","investigations","animals","group".- page_args
List of pagination arguments passed to
spdgt.auth::api_get().- dry_run
Logical. If
TRUE, prints the request without sending it.- verbosity
Integer. How much information to print (0 = silent, 1 = headers, 2 = headers + body, 3 = full).