View source: R/rezrDF_lowerToHigher.R
updateLowerToHigher | R Documentation |
Not normally called by users, but acts as an updateFunct to be called by reload.
updateLowerToHigher(
df,
rezrObj,
address,
fkeyAddress,
action,
field = "",
fkeyInDF = FALSE,
seqName = "docTokenSeq"
)
df |
The target rezrDF to be updated. |
rezrObj |
The full rezrObj. |
address |
An address to the field from the original df, from the rezrObj root. For example, the 'word' field of tokenDF has the address 'tokenDF/word', and the 'word' field of the 'verb' layer of chunkDF has the address 'chunkDF/verb/word'. |
fkeyAddress |
If fkeyInDF = FALSE, an address to the list of foreign keys inside the nodeMap (from the root rezrObj). If fkeyInDF = TRUE, a field in the target rezrDF containing a vector of foreign keys (not currently supported and will result in an error). |
action |
The function to be performed on the values in the source rezrDF to combine them into a single value. |
field |
The name of the field in the target rezrDF to be updated. If the field names in the source DFs are all the same and also the same as the name in the target DF, you may leave this unspecified. |
fkeyInDF |
See fkey description. |
The updated data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.