Identify all children for an individual
get_indi_children(
gedcom,
indi_xref = character(),
birth_only = FALSE,
return_name = FALSE
)
A tidyged object.
The xref of an Individual record to act on if one is not activated (will override active record).
Whether to only return biological children.
Whether to return the childrens name(s) instead of the xref(s).
A character vector of children xrefs or names.
get_indi_children(sample555, "@I2@")
#> [1] "@I3@"
get_indi_children(sample555, "@I2@", return_name = TRUE)
#> [1] "Joe Williams"