add_indi_family_link_as_child: Add a family link as a child

View source: R/individual_links.R

add_indi_family_link_as_childR Documentation

Add a family link as a child

Description

Add a family link as a child

Usage

add_indi_family_link_as_child(
  gedcom,
  family_xref,
  linkage_type = "birth",
  linkage_notes = character(),
  xref = character(),
  update_date_changed = TRUE
)

Arguments

gedcom

A tidyged object.

family_xref

The xref of the family associated of which this individual is a child.

linkage_type

A code used to indicate the child to family relationship. Either, "birth" (default), "foster", or "adopted".

linkage_notes

A character vector of notes accompanying this linkage. These could be xrefs to existing Note records.

xref

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

update_date_changed

Whether to add/update the change date for the record.

Details

These are only to be used by the add_famg function. The child is added separately.

Value

An updated tidyged object with an expanded Individual record including this family link.


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