Skip to contents

Not normally called by users, but acts as an updateFunct to be called by reload.

Usage

updateLeftJoin(df1, rezrObj, address, fkey, df2key = "", field = "")

Arguments

df1

The 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'. This may be a multiple-entry vector if you want to merge the source DFs.

fkey

The foreign key(s). Should match the number of primary keys in the df you're pulling information from (i.e. fieldaccess set as 'key').

df2key

The name of the candidate key in the source table that corresponds to the foreign key of the target table. If left unspecified, I will use the primary key.

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.

Value

The updated data frame.