Learn R Programming

datapack (version 1.0.0)

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

Description

The DataPackage class provides methods for added and extracting data objects from a datapackage. The contents of a package can be determined and the package can be prepared for transport before being uploaded to a data repository or archived.

Arguments

Methods

{: Initialize a DataPackage object} getData{: Get the data content of a specified data object} getSize{: Get the Count of Objects in the Package} getIdentifiers{: Get the Identifiers of Package Members} addData{: Add a DataObject to the DataPackage} insertRelationship{: Record relationships of objects in a DataPackage} recordDerivation{: Record derivation relationships between objects in a DataPackage} getRelationships{: Retrieve relationships of package objects} containsId{: Returns true if the specified object is a member of the package} removeMember{: Remove the Specified Member from the Package} getMember{: Return the Package Member by Identifier} serializePackage{: Create an OAI-ORE resource map from the package} serializeToBagIt{: Serialize A DataPackage into a BagIt Archive File}

See Also

datapack