Update annotation items programmatically. You have to pass in a
data frame, called itemsToUpdate
, describing the new state of the items.
The required columns are described below.
This function belongs to emuR’s CRUD family of functions, which let the user manipulate items programmatically:
Create items (create_itemsInLevel)
Read items (query)
Update items (update_itemsInLevel)
Delete items (delete_itemsInLevel))
update_itemsInLevel(
emuDBhandle,
itemsToUpdate,
rewriteAllAnnots = TRUE,
verbose = TRUE
)
emuDB handle as returned by load_emuDB
A data frame with the columns:
session
(character)
bundle
(character)
level
(character)
start_item_seq_idx
(character)
attribute
(character)
labels
(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