get_ancestors | R Documentation |
This function identifies records in an entire branch of the family tree above a certain individual.
get_ancestors( gedcom, indi_xref = character(), inc_indi = FALSE, inc_sibs = FALSE, inc_famg = FALSE, inc_supp = FALSE, birth_only = TRUE )
gedcom |
A tidyged object. |
indi_xref |
The xref of an Individual record to act on if one is not activated (will override active record). |
inc_indi |
Whether to also include the individual themselves. |
inc_sibs |
Whether to also include all siblings of ancestors (siblings of this individual will only be included if the individual is included). |
inc_famg |
Whether to also include all Family Group records where this individual is a child (and all ancestors' Family Group records). |
inc_supp |
Whether to also include all supporting records (Note, Source, Repository, Multimedia). |
birth_only |
Whether to only include biological ancestors. |
A vector of xrefs of ancestors.
get_ancestors(sample555, "@I3@") get_ancestors(sample555, "@I3@", inc_indi = TRUE) get_ancestors(sample555, "@I3@", inc_indi = TRUE, inc_famg = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.