add_indi_names: Add a personal name (and components) to an Individual record

View source: R/individual_names.R

add_indi_namesR Documentation

Add a personal name (and components) to an Individual record

Description

This function can be applied to an Individual record several times to record personal names. The personal name is constructed automatically from the components.

Usage

add_indi_names(
  gedcom,
  names = name_pieces(),
  type = character(),
  xref = character(),
  update_date_changed = TRUE
)

Arguments

gedcom

A tidyged object.

names

A name_pieces() object defining the components of the personal name.

type

The name type, e.g. "birth", "aka", "maiden".

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.

Value

An updated tidyged object with an expanded Individual record including these names.


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