Skip to contents

Get a list of values from a lower-level table.

Usage

getLowerFieldList(
  rezrObj,
  fieldName,
  simpleDF,
  complexDF,
  complexNodeMap,
  listName,
  complexIDs = NULL
)

getTrackTokens(rezrObj, fieldName, trackDF = NULL)

Arguments

rezrObj

The rezrObj object from which information is to be extracted.

fieldName

The field you would like to extract.

simpleDF

The lower rezrDF.

complexDF

The higher rezrDF.

complexNodeMap

The nodeMap corresponding to the higher rezrDF.

listName

The name of the list of keys in complexNodeMap.

complexIDs

The IDs of the rows in the complex rezrDF you would like to extract information on.

trackDF

The trackDF you would like to extract information for.

Value

A list of vectors. Each list entry has the ID in the more complex rezrDF as its label, and the content is a vector, each entry of which corresponds to an entry in the lower rezrDF.

Examples

tokenKindByUnit = getLowerFieldList(sbc007, fieldName = "kind", simpleDF = rez007$entryDF, complexDF = rez007$unitDF,
complexNodeMap = rez007$nodeMap$unit, listName = "entryList", complexIDs = c("2AD10A854E6D3", "BDD7D839325A", "2752E3B395FC1"))
tokenKindByTrack = getTrackTokens(sbc007, fieldName = "kind", trackDF = sbc007$trackDF$default)