Update items programmatically
update_itemsInLevel(
emuDBhandle,
itemsToUpdate,
rewriteAllAnnots = TRUE,
verbose = TRUE
)
emuDB handle as returned by load_emuDB
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.
should changes be written to file system (_annot.json files) (intended for expert use only)
if set to TRUE
, more status messages are printed