add_parents: Add parent records for an individual

View source: R/wrappers.R

add_parentsR Documentation

Add parent records for an individual

Description

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

Usage

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).

Details

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

Value

A tidyged object with additional parent records.


jl5000/tidygedcom documentation built on June 22, 2022, 5:16 p.m.