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

remove_linkDefinitionR Documentation

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

Description

Add / List / Remove new link definition to / of / from emuDB. A link definition specifies the relationship between two levels, the super-level and the sub-level. The entirety of all link definitions of a emuDB specifies the hierarchical structure of the database. For more information on the structural elements of an emuDB see vignette(emuDB).

Usage

remove_linkDefinition(
  emuDBhandle,
  superlevelName,
  sublevelName,
  force = FALSE,
  verbose = TRUE
)

Arguments

emuDBhandle

emuDB handle as returned by load_emuDB

superlevelName

name of super-level of linkDefinition

sublevelName

name of sub-level of linkDefinition

force

delete all links belonging to the linkDefinition (USE WITH CAUTION! VERY INVASIVE AKTION!)

verbose

be verbose. Ask to delete links if force is TRUE.

Details

Link type descriptions:

  • "ONE_TO_MANY"A single ITEM of the super-level can be linked to multiple ITEMs of the sub-level

  • "MANY_TO_MANY"Multiple ITEMs of the super-level can be linked to multiple ITEMs of the sub-level

  • "ONE_TO_ONE"A single ITEM of the super-level can be linked to a single ITEM of the sub-level

For all link types the rule applies that no links are allowed to cross any other links. Further, a linkDefinition can not be removed, if there are links present in the emuDB.

See Also

emuR::remove_linkDefinition


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