This function takes multiple records and replaces them with a single record containing all of their subrecords. It does not remove duplicate subrecords.

merge_records(tg, xrefs)

Arguments

tg

A tidyged object.

xrefs

The xrefs of the records to merge.

Value

A new tidyged object where all specified records have been merged.