Skip to contents

Retrieve wolf pack/group records from the depredation schema in the telemetry API. Groups represent named wolf packs with optional metadata such as annual counts and removal authorizations.

Usage

dep_read_groups(
  id = NULL,
  name = NULL,
  includes = NULL,
  page_args = list(),
  dry_run = FALSE,
  verbosity = 0
)

Arguments

id

Integer vector. Filter by group ID(s).

name

Character. Filter by group/pack name.

includes

Character vector of related resources to include in the response. Valid values: "animals", "events", "project".

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).

Value

A tibble of group records. Columns include id, project_id, name, is_virtual, keywords, metadata.