Identify all families for an individual where they are a child

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

birth_only

Whether to only return the family containing the biological parents.

Value

A character vector of family xrefs.

Examples

get_families_as_child(sample555, "@I3@")
#> [1] "@F1@" "@F2@"