datapack: A Flexible Container to Transport and Manipulate Data and Associated Resources

Provides a flexible container to transport and manipulate complex sets of data. These data may consist of multiple data files and associated meta data and ancillary files. Individual data objects have associated system level meta data, and data files are linked together using the OAI-ORE standard resource map which describes the relationships between the files. The OAI-ORE standard is described at <>. Data packages can be serialized and transported as structured files that have been created following the BagIt specification. The BagIt specification is described at <>.

AuthorMatthew B. Jones [aut, cre], Peter Slaughter [aut], Regents of the University of California [cph]
Date of publication2016-05-20 05:21:27
MaintainerMatthew B. Jones <>
LicenseApache License (== 2.0)

View on CRAN

Man pages

addAccessRule: Add access rules to the specified object.

addData: Add a DataObject to the DataPackage

canRead: Test whether the provided subject can read an object.

containsId: Returns true if the specified object is a member of the...

createFromTriples: Populate a ResourceMap with RDF relationships from...

DataObject-class: DataObject wraps raw data with system-level metadata

DataObject-initialize: Initialize a DataObject

datapack: datapack, a container for packages of data and associated...

DataPackage-class: A class representing a data package, which can contain data...

DataPackage-initialize: Initialize a DataPackage object.

dmsg: Print a debugging message to stderr.

freeResourceMap: Free memory used by a ResouceMap.

getData: Get the data content of a specified data object

getFormatId: Get the FormatId of the DataObject

getIdentifier: Get the Identifier of the DataObject

getIdentifiers: Get the Identifiers of Package Members

getMember: Return the Package Member by Identifier

getRelationships: Retrieve relationships of package objects

getSize: Get the Count of Objects in the Package

hasAccessRule: Determine if a particular access rules exists within...

insertRelationship: Record relationships of objects in a DataPackage

parseSystemMetadata: Parse an external XML document and populate a SystemMetadata...

recordDerivation: Record derivation relationships between objects in a...

removeMember: Remove the Specified Member from the Package

ResourceMap-class: ResourceMap provides methods to create, serialize and...

ResourceMap-initialize: Initialize a ResourceMap object.

serializePackage: Create an OAI-ORE resource map from the package

serializeRDF: Serialize a ResouceMap.

serializeSystemMetadata: Serialize a SystemMetadata object to an XML representation

serializeToBagIt: Serialize A DataPackage into a BagIt Archive File

setPublicAccess: Add a Rule to the AccessPolicy to make the object publicly...

SystemMetadata: Create DataONE SystemMetadata object

SystemMetadata-class: A DataONE SystemMetadata object containing basic...

SystemMetadata-initialize: Initialize a DataONE SystemMetadata object with default...

validate: Validate a SystemMetadata object.


addAccessRule Man page
addAccessRule,DataObject-method Man page
addAccessRule,SystemMetadata-method Man page
addData Man page
addData,DataPackage,DataObject-method Man page
canRead Man page
canRead,DataObject-method Man page
containsId Man page
containsId,DataPackage-method Man page
createFromTriples Man page
createFromTriples,ResourceMap-method Man page
DataObject-class Man page
DataObject-initialize Man page
datapack Man page
DataPackage-class Man page
DataPackage-initialize Man page
datapack-package Man page
dmsg Man page
freeResourceMap Man page
freeResourceMap,ResourceMap-method Man page
getData Man page
getData,DataObject-method Man page
getData,DataPackage-method Man page
getFormatId Man page
getFormatId,DataObject-method Man page
getIdentifier Man page
getIdentifier,DataObject-method Man page
getIdentifiers Man page
getIdentifiers,DataPackage-method Man page
getMember Man page
getMember,DataPackage-method Man page
getRelationships Man page
getRelationships,DataPackage-method Man page
getSize Man page
getSize,DataPackage-method Man page
hasAccessRule Man page
hasAccessRule,SystemMetadata-method Man page
initialize,DataObject-method Man page
initialize,DataPackage-method Man page
initialize,ResourceMap-method Man page
initialize,SystemMetadata-method Man page
insertRelationship Man page
insertRelationship,DataPackage-method Man page
parseSystemMetadata Man page
parseSystemMetadata,SystemMetadata-method Man page
recordDerivation Man page
recordDerivation,DataPackage-method Man page
removeMember Man page
removeMember,DataPackage-method Man page
ResourceMap-class Man page
ResourceMap-initialize Man page
serializePackage Man page
serializePackage,DataPackage-method Man page
serializeRDF Man page
serializeRDF,ResourceMap-method Man page
serializeSystemMetadata Man page
serializeSystemMetadata,SystemMetadata-method Man page
serializeToBagIt Man page
serializeToBagIt,DataPackage-method Man page
setPublicAccess Man page
setPublicAccess,DataObject-method Man page
SystemMetadata Man page
SystemMetadata-class Man page
SystemMetadata-initialize Man page
SystemMetadata,XMLInternalElementNode-method Man page
validate Man page
validate,SystemMetadata-method Man page


datapack/R/dmsg.R datapack/R/DataObject.R
datapack/R/ResourceMap.R datapack/R/DataPackage.R datapack/R/SystemMetadata.R
datapack/man/DataPackage-class.Rd datapack/man/serializeRDF.Rd datapack/man/removeMember.Rd datapack/man/getFormatId.Rd datapack/man/insertRelationship.Rd datapack/man/DataPackage-initialize.Rd datapack/man/createFromTriples.Rd datapack/man/serializeSystemMetadata.Rd datapack/man/validate.Rd datapack/man/getIdentifier.Rd datapack/man/SystemMetadata-initialize.Rd datapack/man/DataObject-class.Rd datapack/man/SystemMetadata-class.Rd datapack/man/freeResourceMap.Rd datapack/man/recordDerivation.Rd datapack/man/dmsg.Rd datapack/man/containsId.Rd datapack/man/SystemMetadata.Rd datapack/man/parseSystemMetadata.Rd datapack/man/getRelationships.Rd datapack/man/setPublicAccess.Rd datapack/man/addAccessRule.Rd datapack/man/serializeToBagIt.Rd datapack/man/getSize.Rd datapack/man/serializePackage.Rd datapack/man/ResourceMap-class.Rd datapack/man/DataObject-initialize.Rd datapack/man/hasAccessRule.Rd datapack/man/canRead.Rd datapack/man/addData.Rd datapack/man/getIdentifiers.Rd datapack/man/getMember.Rd datapack/man/datapack.Rd datapack/man/ResourceMap-initialize.Rd datapack/man/getData.Rd

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.