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

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.