remove_levelDefinition: Remove a level definition. (A copy of the emuR function)

remove_levelDefinitionR Documentation

Remove a level definition. (A copy of the emuR function)

Description

Add / List / Remove database operation functions for level definitions. A level is a more general term for what is often referred to as a "tier". It is more general in the sense that people usually expect tiers to contain time information. Levels can either contain time information if they are of the type "EVENT" or of the type "SEGMENT" but are timeless if they are of the type "ITEM". For more information on the structural elements of an emuDB see vignette(emuDB). Note that a level cannot be removed, if it contains instances of annotation items or if it is linked to another level. Further note, renaming a level definition can be done using rename_attributeDefinition.

Usage

remove_levelDefinition(
  emuDBhandle,
  name,
  rewriteAllAnnots = TRUE,
  force = FALSE,
  verbose = TRUE
)

Arguments

emuDBhandle

emuDB handle as returned by load_emuDB

name

name of level definition

rewriteAllAnnots

should changes be written to file system (_annot.json files) (intended for expert use only)

force

delete all items incl. links pointing to those items from the levels

verbose

Show progress bars and further information

See Also

emuR::remove_levelDefinition


humlab-speech/reindeer documentation built on May 21, 2023, 4:43 p.m.