delete_itemsInLevel: Delete items programmatically

delete_itemsInLevelR Documentation

Delete items programmatically

Description

Allows to delete annotation items programmatically.

Usage

delete_itemsInLevel(
  emuDBhandle,
  itemsToDelete,
  rewriteAllAnnots = TRUE,
  verbose = TRUE
)

Arguments

emuDBhandle

emuDB handle as returned by load_emuDB

itemsToDelete

A data frame with the columns

  • session,

  • bundle,

  • level,

  • start_item_seq_idx (start_item_seq_idx is used instead of e.g. seq_idx so that the result of a query call can be used directly.

*None* of the columns should be factors. sequenceIndex must be numeric (natural-valued), all other columns must be of type character.

rewriteAllAnnots

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

verbose

if set to TRUE, more status messages are printed


emuR documentation built on Nov. 4, 2023, 1:06 a.m.