Skip to contents

A function factory that allows the user to create an update function based on a left join. Not to be called by most users; it is automatically called by rez_left_join if the necessary information is supplied.

Usage

createLeftJoinUpdate(address, fkey, df2key = "", field = "")

Arguments

address

The address of the field you want to get data from in the source rezrDF. May be a vector if you have more than one source rezrDF. 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'.

fkey

The name of the foreign key in the target rezrDF.

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.

df

The rezrDF to be updated.

rezrObj

The full rezrObj.

Value

An update function for the left join defined.