Skip to contents

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

Usage

getIdentifiers(x, ...)

# S4 method for 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:a6ed1f39-8a65-4dc2-9e2a-54a087e82522"