package: Work with RIDL datasets (packages)

packageR Documentation

Work with RIDL datasets (packages)

Description

Work with RIDL datasets (packages)

Usage

package_create(metadata)

package_show(id)

package_update(id, metadata)

package_patch(id, metadata)

package_delete(id)

Arguments

metadata

Metadata created by package_metadata().

id

The id or name of the dataset.

Details

You must have the necessary permissions to create, edit, or delete packages.

Note that several fields are required for package_create() and package_update() operations to succeed. Consult package_metadata() for the details.

For package_update()/package_patch() operations, it is recommended to call package_show(), make the desired changes to the result, and then call package_update()/package_patch() with it.

The difference between the update and patch methods is that the patch will perform an update of the provided parameters, while leaving all other parameters unchanged, whereas the update methods deletes all parameters not explicitly provided in the metadata.

Value

The dataset.


galalH/riddle documentation built on Jan. 3, 2023, 10:55 a.m.