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 <https://www.openarchives.org/ore>. Data packages can be serialized and transported as structured files that have been created following the BagIt specification. The BagIt specification is described at <https://tools.ietf.org/html/draft-kunze-bagit-08>.

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 <jones@nceas.ucsb.edu>
LicenseApache License (== 2.0)
Version1.0.1

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.

Files in this package

datapack
datapack/inst
datapack/inst/testfiles
datapack/inst/testfiles/sysmeta-v2.xml
datapack/inst/testfiles/sysmeta.xml
datapack/inst/testfiles/sysmeta-updated.xml
datapack/inst/CITATION
datapack/inst/tests
datapack/inst/tests/test_DataPackage.R
datapack/inst/tests/test.SystemMetadata.R
datapack/inst/tests/test.ResourceMap.R
datapack/inst/tests/test_DataObject.R
datapack/inst/COPYRIGHTS
datapack/inst/extdata
datapack/inst/extdata/sample-data.csv
datapack/inst/extdata/sample-eml.xml
datapack/inst/doc
datapack/inst/doc/datapack-overview.Rmd
datapack/inst/doc/datapack-overview.html
datapack/inst/doc/datapack-overview.R
datapack/NAMESPACE
datapack/NEWS
datapack/R
datapack/R/dmsg.R datapack/R/DataObject.R
datapack/R/datapack-package.r
datapack/R/ResourceMap.R datapack/R/DataPackage.R datapack/R/SystemMetadata.R
datapack/vignettes
datapack/vignettes/datapack-overview.Rmd
datapack/README.md
datapack/MD5
datapack/build
datapack/build/vignette.rds
datapack/DESCRIPTION
datapack/man
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 ian@mutexlabs.com.

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

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