updateRelationships: Update package relationships by replacing an old identifier...

Description Usage Arguments See Also

Description

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

Usage

1
2
3
4
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


ropensci/datapack documentation built on Aug. 11, 2018, 3:46 a.m.