This function is used to assign xrefs to new records that are created.

assign_xref_indi(gedcom = empty_gedcom(), ref = 0, quantity = 1)

assign_xref_famg(gedcom = empty_gedcom(), ref = 0, quantity = 1)

assign_xref_sour(gedcom = empty_gedcom(), ref = 0, quantity = 1)

assign_xref_repo(gedcom = empty_gedcom(), ref = 0, quantity = 1)

assign_xref_media(gedcom = empty_gedcom(), ref = 0, quantity = 1)

assign_xref_note(gedcom = empty_gedcom(), ref = 0, quantity = 1)

assign_xref_subm(gedcom = empty_gedcom(), ref = 0, quantity = 1)

Arguments

gedcom

A tidyged object.

ref

An explicit reference number if one is to be chosen manually.

quantity

The number of new xrefs to return.

Value

A vector of xrefs to use for a new record(s).