get_siblings: Returns data frame with specified siblings for Ids provided.

Description Usage Arguments

View source: R/animalr.R

Description

Takes a database connection and a character vector of animal Ids and retrieves the siblings for each id. All returned rows represent a unique individual. The SQL gets all siblings of the type specified.

Usage

1
get_siblings(conn, ids, type = "all")

Arguments

conn

database connection

ids

character vector of individual ids

type

character element having 'all', 'full', 'half', 'maternal' or 'paternal'.


rmsharp/animalr documentation built on March 10, 2021, 1:12 p.m.