Skip to contents

The identifiers of the objects in the package are retrieved and returned as a list.

Usage

getIdentifiers(x, ...)

# S4 method for class 'DataPackage'
getIdentifiers(x)

Arguments

x

A DataPackage instance

...

(not yet used)

Value

A list of identifiers

Examples

dp <- new("DataPackage")
data <- charToRaw("1,2,3\n4,5,6")
do <- new("DataObject", dataobj=data, format="text/csv", user="jsmith")
dp <- addMember(dp, do)
getIdentifiers(dp)
#> [1] "urn:uuid:08a3e17c-291b-4120-bc2a-94af6044b5ae"