D1Object-class: D1Object (Defunct) is a representation of a DataObject.

D1Object-classR Documentation

D1Object (Defunct) is a representation of a DataObject.

Description

D1Object has been defunct in favor of datapack::DataObject, which provides a wrapper for data and associated SystemMetadata.

Slots

dataObject

A backing instance of a DataObject, to which all methods and state are proxied

Methods

  • D1Object-initialize: Initialize a D1Object

  • getData: Get the data content of a specified D1Object.

  • getIdentifier: Get the identifier of the D1Object.

  • getFormatId: Get the formatId of the D1Object

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

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

  • asDataFrame: Return the D1Object as a data.frame.

See Also

dataone package description.


DataONEorg/rdataone documentation built on June 16, 2022, 7:01 p.m.