This function adds placeholder records for an individual's parents.

add_parents(gedcom, xref = character(), inc_sex = TRUE)

Arguments

gedcom

A tidyged object.

xref

The xref of an Individual record to act on if one is not activated (will override active record).

inc_sex

Whether to populate the sex of the parents. This will ensure that there is one male and one female parent. Otherwise the sex will be assigned as "U" (undetermined).

Value

A tidyged object with additional parent records.

Details

This function may also create a Family Group record and will not modify existing parents.