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:
Create items (create_itemsInLevel)
Read items (query)
Update items (update_itemsInLevel)
Delete items (delete_itemsInLevel))
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:
|
rewriteAllAnnots |
should changes be written to file system (_annot.json files) (intended for expert use only) |
verbose |
if set to |