Internal function to identify orphan records in a given RDBESDataObject table

findOrphansByTable(tableToCheck, objectToCheck, foreignKeyIds, verbose = FALSE)

Arguments

tableToCheck

The two letter code for the table to check

objectToCheck

An RDBESDataObject

foreignKeyIds

A vetor of the foreign key field names to check

verbose

(Optional) If set to TRUE more detailed text will be printed out by the function. Default is TRUE.

Value

A data frame with the primary keys of the table checked, the two letter table identifier, and their orphan status.