assign_xref_indi: Create a new xref for a record

View source: R/helpers.R

assign_xref_indiR Documentation

Create a new xref for a record

Description

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

Usage

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).


jl5000/tidyged.internals documentation built on Aug. 21, 2022, 8:32 p.m.