For the complete documentation index, see llms.txt. This page is also available as Markdown.

Dataset$unrelease

Dataset$unrelease(wait_for_finalization=FALSE) → self

Unreleases the current version of the dataset, setting it back to the next version. A version of a dataset can only be unreleased within a 7-day window from when it was released, and cannot be unreleased if a next version already exists (in this case, first delete the next version).

Parameters:

wait_for_finalization : logical, default FALSE Whether to wait for the unrelease to be finalized before returning. The unrelease takes effect immediately, but the version's data is finalized in the background, and until that finishes, the dataset's versions can't be released, unreleased, or deleted. Set this to TRUE if you'll make another such change right after this one.

Returns:

self (a Dataset)

Examples:

dataset <- redivis$user("my_username")$dataset("My dataset")
dataset <- dataset$create_next_version()

# Upload data, etc.

# This moves the "next" version to current
dataset$release()

# If we realize we've made a mistake, we can reset to how the dataset was before
# it was released:
dataset$unrelease()

Was this helpful?