is_obsolete: Test whether the object is obsoleted by another object

View source: R/util.R

is_obsoleteR Documentation

Test whether the object is obsoleted by another object

Description

Test whether the object is obsoleted by another object

Usage

is_obsolete(node, pids)

Arguments

node

(MNode|CNode) The Coordinating/Member Node to run the query on.

pids

(character) One or more PIDs to query against.

Value

(logical) Whether or not the object is obsoleted by another object.

Examples

## Not run: 
# Set environment
cn <- CNode("STAGING2")
mn <- getMNode(cn,"urn:node:mnTestKNB")
pid <- "urn:uuid:3e5307c4-0bf3-4fd3-939c-112d4d11e8a1"

is_obsolete(mn, pid)

## End(Not run)

NCEAS/arcticdatautils documentation built on Aug. 28, 2023, 12:10 p.m.