initialize,DataPackage-method {datapack} | R Documentation |
Initialize a DataPackage object.
Description
Initialize a DataPackage object.
Usage
## S4 method for signature 'DataPackage'
initialize(.Object, packageId)
Arguments
.Object |
The object being initialized |
packageId |
The package id to assign to the package |
See Also
Examples
# Create a DataPackage with undefined package id (to be set manually later)
pkg <- new("DataPackage")
# Alternatively, manually assign the package id when the DataPackage object is created
pkg <- new("DataPackage", "urn:uuid:4f953288-f593-49a1-adc2-5881f815e946")
[Package datapack version 1.4.1 Index]