Package: datapack 1.4.1

Matthew B. Jones

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>.

Authors:Matthew B. Jones [aut, cre], Peter Slaughter [aut], S. Jeanette Clark [ctb], Regents of the University of California [cph]

datapack_1.4.1.tar.gz
datapack_1.4.1.zip(r-4.5)datapack_1.4.1.zip(r-4.4)datapack_1.4.1.zip(r-4.3)
datapack_1.4.1.tgz(r-4.4-any)datapack_1.4.1.tgz(r-4.3-any)
datapack_1.4.1.tar.gz(r-4.5-noble)datapack_1.4.1.tar.gz(r-4.4-noble)
datapack_1.4.1.tgz(r-4.4-emscripten)datapack_1.4.1.tgz(r-4.3-emscripten)
datapack.pdf |datapack.html
datapack/json (API)
NEWS

# Install 'datapack' in R:
install.packages('datapack', repos = c('https://dataoneorg.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/ropensci/datapack/issues

On CRAN:

8.54 score 44 stars 4 packages 189 scripts 405 downloads 41 exports 34 dependencies

Last updated 2 years agofrom:30d3be8b61. Checks:OK: 3 NOTE: 4. Indexed: no.

TargetResultDate
Doc / VignettesOKOct 27 2024
R-4.5-winNOTEOct 27 2024
R-4.5-linuxNOTEOct 27 2024
R-4.4-winNOTEOct 27 2024
R-4.4-macNOTEOct 27 2024
R-4.3-winOKOct 27 2024
R-4.3-macOKOct 27 2024

Exports:addAccessRuleaddDataaddMembercanReadclearAccessPolicycontainsIdcreateFromTriplesdescribeWorkflowfreeResourceMapgetDatagetFormatIdgetIdentifiergetIdentifiersgetMembergetRelationshipsgetSizegetTriplesgetValuehasAccessRuleinitializeinsertRelationshipparseRDFparseSystemMetadataplotRelationshipsrecordDerivationremoveAccessRuleremoveMemberremoveRelationshipsreplaceMemberselectMemberserializePackageserializeRDFserializeSystemMetadataserializeToBagItsetPublicAccesssetValueSystemMetadataupdateMetadataupdateRelationshipsupdateXMLvalidate

Dependencies:brewcallrclicommonmarkcpp11descdigestevaluatefsgluehighrknitrlifecyclemagrittrpkgbuildpkgloadprocessxpspurrrR6redlandrlangroxygen2rprojrootstringistringruuidvctrswithrxfunXMLxml2yamlzip

datapack R Package Overview

Rendered fromdatapack-overview.Rmdusingknitr::rmarkdownon Oct 27 2024.

Last update: 2020-11-02
Started: 2016-03-18

Readme and manuals

Help Manual

Help pageTopics
Add access rules to the specified object.addAccessRule addAccessRule,DataObject-method addAccessRule,DataPackage-method addAccessRule,SystemMetadata-method
Add a DataObject to the DataPackageaddData addData,DataPackage,DataObject-method
Add a DataObject to the DataPackageaddMember addMember,DataPackage-method
Calculate a checksum for the DataObject using the specified checksum algorithmcalculateChecksum calculateChecksum,DataObject-method
Test whether the provided subject can read an object.canRead canRead,DataObject-method
Clear the accessPolicy from the specified object.clearAccessPolicy clearAccessPolicy,DataObject-method clearAccessPolicy,DataPackage-method clearAccessPolicy,SystemMetadata-method
Returns true if the specified object is a member of the packagecontainsId containsId,DataPackage-method
Populate a ResourceMap with RDF relationships from data.frame.createFromTriples createFromTriples,ResourceMap-method
DataObject wraps raw data with system-level metadataDataObject-class
datapack, a container for packages of data and associated metadatadatapack
A class representing a data packageDataPackage-class
Add data derivation information to a DataPackagedescribeWorkflow describeWorkflow,DataPackage-method
Print a debugging message to stderr.dmsg
Free memory used by a ResouceMap.freeResourceMap freeResourceMap,ResourceMap-method
Get the data content of a specified data objectgetData getData,DataObject-method getData,DataPackage-method
Get the FormatId of the DataObjectgetFormatId getFormatId,DataObject-method
Get the Identifier of the DataObjectgetIdentifier getIdentifier,DataObject-method
Get the Identifiers of Package MembersgetIdentifiers getIdentifiers,DataPackage-method
Return the Package Member by IdentifiergetMember getMember,DataPackage-method
Retrieve relationships of package objectsgetRelationships getRelationships,DataPackage-method
Get the Count of Objects in the PackagegetSize getSize,DataPackage-method
Get the RDF relationships stored in the ResourceMap.getTriples getTriples,ResourceMap-method
Get values for selected DataPackage members.getValue getValue,DataPackage-method
Determine if an access rules existshasAccessRule hasAccessRule,DataObject-method hasAccessRule,DataPackage-method hasAccessRule,SystemMetadata-method
Initialize a DataObjectDataObject-initialize initialize,DataObject-method
Initialize a DataPackage object.DataPackage-initialize initialize,DataPackage-method
Initialize a ResourceMap object.initialize,ResourceMap-method ResourceMap-initialize
Initialize a DataONE SystemMetadata object with default values or values passed in to the constructor.initialize,SystemMetadata-method SystemMetadata-initialize
Record relationships of objects in a DataPackageinsertRelationship insertRelationship,DataPackage-method
Parse an RDF/XML resource map from a file.parseRDF parseRDF,ResourceMap-method
Parse an external XML document and populate a SystemMetadata object with the parsed dataparseSystemMetadata parseSystemMetadata,SystemMetadata-method
Plot derivation relationships obtained from getRelationshipsplotRelationships plotRelationships,DataPackage-method
Record derivation relationships between objects in a DataPackagerecordDerivation recordDerivation,DataPackage-method
Remove an access rule from the specified object.removeAccessRule removeAccessRule,DataObject-method removeAccessRule,DataPackage-method removeAccessRule,SystemMetadata-method
Remove the Specified Member from the PackageremoveMember removeMember,DataPackage-method
Remove relationships of objects in a DataPackageremoveRelationships removeRelationships,DataPackage-method
Replace the raw data or file associated with a DataObjectreplaceMember replaceMember,DataPackage-method
ResourceMap provides methods to create, serialize and deserialize an OAI ORE resource map.ResourceMap-class
Return identifiers for objects that match search criteriaselectMember selectMember,DataPackage-method
Create an OAI-ORE resource map from the packageserializePackage serializePackage,DataPackage-method
Serialize a ResouceMap.serializeRDF serializeRDF,ResourceMap-method
Serialize a SystemMetadata object to an XML representationserializeSystemMetadata serializeSystemMetadata,SystemMetadata-method
Serialize A DataPackage into a BagIt Archive FileserializeToBagIt serializeToBagIt,DataPackage-method
Add a Rule to the AccessPolicy to make the object publicly readable.setPublicAccess setPublicAccess,DataObject-method setPublicAccess,DataPackage-method
Set values for selected DataPackage members.setValue setValue,DataPackage-method
Create DataONE SystemMetadata objectSystemMetadata SystemMetadata,XMLInternalElementNode-method
A DataONE SystemMetadata object containing basic identification, ownership, access policy, replication policy, and related metadata.SystemMetadata-class
Update selected elements of the XML content of a DataObject in a DataPackage (aka package member).updateMetadata updateMetadata,DataPackage-method
Update package relationships by replacing an old identifier with a new one.updateRelationships updateRelationships,DataPackage-method
Update selected elements of the XML content of a DataObjectupdateXML updateXML,DataObject-method
Validate a SystemMetadata object.validate validate,SystemMetadata-method