Skip to contents

Update an existing collection so that all items or a subset of items reference their latest version. Should work for both datasets (collection of files) and dataset collections (collection of datasets).

Usage

use_latest_in_collection(
  collection_id,
  items = "all",
  version_semantics = "abs"
)

Arguments

collection_id

Collection id.

items

Vector of dataset ids for which to update reference to latest version, or "all" (default) to update all.

version_semantics

Use "abs" for absolute latest version or "stable". Only used for collection entities. See details.