updateRelationships {datapack}R Documentation

Update package relationships by replacing an old identifier with a new one.

Description

When package members are updated, they receive a new identifier (replaceMember). It is therefor necessary to update the package relationships to update occurrences of the old identifier with the new one when the old identifier appears in the "subject" or "object" of a relationship.

Usage

updateRelationships(x, ...)

## S4 method for signature 'DataPackage'
updateRelationships(x, id, newId, ...)

Arguments

x

A DataPackage object

...

(Not yet used)

id

A character value containing the identifier to be replaced.

newId

A character value containing the identifier that will replace the old identifier.

See Also

DataPackage-class


[Package datapack version 1.4.1 Index]