get_indi_cousins: Identify all cousins for an individual

View source: R/identify.R

get_indi_cousinsR Documentation

Identify all cousins for an individual

Description

Identify all cousins for an individual

Usage

get_indi_cousins(
  gedcom,
  indi_xref = character(),
  degree = 1,
  inc_half_cous = FALSE,
  return_name = FALSE
)

Arguments

gedcom

A tidyged object.

indi_xref

The xref of an Individual record to act on if one is not activated (will override active record).

degree

Whether to return first cousins (degree = 1), second cousins (degree = 2), etc.

inc_half_cous

Whether to include half cousins.

return_name

Whether to return the parents name(s) instead of the xref(s).

Value

A character vector of cousin xrefs or names.


jl5000/tidygedcom documentation built on June 22, 2022, 5:16 p.m.