Identify all cousins for an individual

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.