Skip to contents

Put animals in groups

Usage

telem_create_group_individuals(data, dry_run = FALSE, verbosity = 0)

Arguments

data

A tibble with columns: group_id, individual_id. Optional columns: date_of_joining, date_of_leaving.

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 created memberships with their assigned IDs.

Details

Membership is its own record so it can start and stop. An animal that leaves a herd has a date_of_leaving rather than being removed, which keeps the history of where it was and when.