This function adds placeholder Individual records for ancestors going back a specific number of generations.
add_ancestors(tg, xref, num_gen, inc_sex = TRUE)
A tidyged object.
The xref of an Individual record to add ancestors for.
The number of generations to create ancestors for.
Whether to populate the sex of the ancestors. This will ensure that there is one male and one female parent. Otherwise the sex will be assigned as "U" (undetermined).
A tidyged object with additional ancestor records.
This function may also create Family Group records and will not modify existing ancestors.