use_latest_in_collection: Update item versions to "latest" in a collection

use_latest_in_collectionR Documentation

Update item versions to "latest" in a collection

Description

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.


nf-osi/nfportalutils documentation built on Feb. 26, 2024, 1:05 p.m.