.mergeIdAspect | R Documentation |
Merges two aspects, that are both data.frames and of the same aspect class.
If the idCol
contains duplicates new ids (for secondAspect
) are created (ids of firstAspect
are kept),
unless it is spezified otherwise by saveOldIds
.
.mergeIdAspect( firstAspect, secondAspect, idCol, uniqCols, stopOnDuplicates = FALSE, saveOldIds = TRUE, .log = c() )
firstAspect |
data.frame; first aspect. |
secondAspect |
data.frame; second aspect. |
idCol |
character; name of the column to merge on. |
uniqCols |
character; name of the column to be checked for uniqueness. |
stopOnDuplicates |
boolean (default=FALSE); whether to stop, if duplicates in |
saveOldIds |
boolean (default=TRUE); whether to keep the IDs from |
.log |
character (optional); name of the calling function used in logging |
data.frame of the merged aspects.
The two aspects must be the same type of aspect (same aspect class)!
Internal function only for convenience
.mergeAttributesAspect
, .createAttributeAspect
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.