pickBestLabel: Get preferred labels

View source: R/JSON_library.R

pickBestLabelR Documentation

Get preferred labels

Description

Gets the best label, possibly limited to a labelTypeAndKind. "Best" is defined as the preferred label, or if that fails, the most recent one. This is translated from coffeescript Label.coffee.

Usage

pickBestLabel(entity, labelTypeAndKind = NA)

Arguments

entity

a list entity, such as a protocol or experiment.

labelTypeAndKind

a labelTypeAndKind such as "name_protocol name".

Value

A label list object.


mcneilco/racas documentation built on April 19, 2024, 1:12 p.m.