get_indi_partners: Identify all partners for an individual

View source: R/identify.R

get_indi_partnersR Documentation

Identify all partners for an individual

Description

Identify all partners for an individual

Usage

get_indi_partners(gedcom, indi_xref = character(), 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).

return_name

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

Value

A character vector of partner xrefs or names.

Examples

get_indi_partners(sample555, "@I1@")
get_indi_partners(sample555, "@I1@", return_name = TRUE)
get_indi_partners(sample555, "@I3@")

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