update_itemsInLevel: Update items programmatically

update_itemsInLevelR Documentation

Update items programmatically

Description

Update items programmatically

Usage

update_itemsInLevel(
  emuDBhandle,
  itemsToUpdate,
  rewriteAllAnnots = TRUE,
  verbose = TRUE
)

Arguments

emuDBhandle

emuDB handle as returned by load_emuDB

itemsToUpdate

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. query can return a sequence of items defined by start_item_seq_idx and end_item_seq_idx which have the same value if single items are returned),

  • attribute, and

  • labels.

*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.