createLowerToHigherUpdate: Create an update function based on a lowerToHigher-type...

View source: R/rezrDF_lowerToHigher.R

createLowerToHigherUpdateR Documentation

Create an update function based on a lowerToHigher-type action.

Description

A function factory that allows the user to create an update function based on a lowerToHigher operation. Not to be called by most users; lowerToHigher will call this automatically if the necessary data is supplied.

Usage

createLowerToHigherUpdate(
  address,
  fkeyAddress,
  action,
  field = "",
  fkeyInDF = FALSE,
  seqName = "docTokenSeq"
)

Arguments

address

The address to the info field that you want from your source rezrDF.

fkeyAddress

The address to the token list in the nodeMap that corresponds to the target rezrDF.

action

The action to be performed to combine the fields.

field

The target field.

fkeyInDF

Whether the foreign key will be in the data frame.

seqName

The name of the sequencing in index in the lower rezrDF.

df

The target rezrDF you want to modify.

rezrObj

The rezrObj.

Value

An update function for a lowerToHigher-type foreign field.


johnwdubois/rezonateR documentation built on Nov. 19, 2024, 11:17 p.m.