Split a tidyged object into two

split_gedcom(tg, xrefs)

Arguments

tg

A tidyged object to split.

xrefs

A vector of xrefs to put into the new tidyged object.

Value

A new tidyged object containing the xrefs specified. It will also have the same header and submitter information as the input tidyged object.