Learn R Programming

emuR (version 2.4.0)

update_itemsInLevel: 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