Skip to contents

Relate table rows to tree entries covering the same tokens.

Usage

mergeChunksWithIDs(rezrObj, idField, addToTrack = F, selectCond = NULL)

Arguments

rezrObj

The rezrObj object

addToTrack

Do you want to add the chunks to the trackDF as well?

selectCond

The condition for selecting which chunk provides the field values.

treeEntryDF

A treeEntry data.frame, possibly filtered.

Value

The rezrObj with additional rows for merged chunks. Original chunks stay behind. There will be a new column called combinedChunk. Combined chunks will get the value 'combined'. Members of those chunks will get the value '|infomember=COMBINEDCHUNKID' (if they are providing the data for the combined chunk) or '|member=COMBINEDCHUNKID' (if they are not the data-providing chunk). treeEntry (through getAllTreeCorrespondences()) is required to be present in the chunkDF.

Examples

sbc007 = mergeChunksWithIDs(sbc007, "largerChunk", selectCond = NULL)