.mergeAttributesAspect | R Documentation |
Some aspects like NodeAttributesAspect or EdgeAttributesAspect use a key-value scheme. This function helps in merging while avoiding repetition.
.mergeAttributesAspect( firstAspect, secondAspect, replace = TRUE, stopOnDuplicates = FALSE, required = c("propertyOf", "name"), optional = "subnetworkId", .log = c() )
firstAspect |
*AttributeAspect object; first aspect. |
secondAspect |
*AttributeAspect object; second aspect. |
replace |
logical (default: TRUE); should duplicate keys be replaced with values of the secondAspect |
stopOnDuplicates |
logical (default: FALSE); whether to stop, if duplicate keys are found |
required |
character (optional); names of required column names |
optional |
character (optional); names of optional column names |
.log |
character (optional); origin of the data used for error logging |
*AttributeAspect object
Internal function only for convenience
.mergeIdAspect
, .createAttributeAspect
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.