Initialize a DataPackage object.

Share:

Description

Initialize a DataPackage object.

Usage

1
2
## 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

DataPackage-class

Examples

1
2
3
4
# 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")

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.