set_legalLabels | R Documentation |
Set / Get / Remove legal labels of a specific attributeDefinition of a emuDB.
The legal labels are a character vector of strings
that specifies the labels that are legal (i.e. allowed / valid) for the given attribute.
As the EMU-webApp won't allow the annotator to enter any labels that are not
specified in this array, this is a simple way of assuring that a level
has a consistent label set. For more information
on the structural elements of an emuDB see vignette(emuDB)
.
Note that defining legal labels for an attributeDefinition does not imply that the
existing labels are checked for being 'legal' in the emuDB.
set_legalLabels(emuDBhandle, levelName, attributeDefinitionName, legalLabels)
emuDBhandle |
emuDB handle as returned by |
levelName |
name of level |
attributeDefinitionName |
name of attributeDefinition (can be and often is the level name) |
legalLabels |
character vector of labels |
emuR::set_legalLabels
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.