Add an association with another individual

add_indi_association(
  gedcom,
  associated_with,
  association,
  association_notes = character(),
  xref = character(),
  update_date_changed = TRUE
)

Arguments

gedcom

A tidyged object.

associated_with

An xref identifying the associated individual.

association

A word or phrase stating the nature of the association.

association_notes

A character vector of notes accompanying this association. 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.

Value

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