update_itemsInLevel {emuR}R Documentation

Update items programmatically

Description

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:

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 (character)

  • bundle (character)

  • level (character)

  • start_item_seq_idx (character)

  • attribute (character)

  • labels (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


[Package emuR version 2.5.0 Index]