Learn R Programming

emuR (version 2.5.0)

write_bundleList: write bundleList

Description

write bundleList JSON file to emuDB

Usage

write_bundleList(
  emuDBhandle,
  name,
  bundleList,
  seglist,
  updateDBconfig = TRUE,
  verbose = TRUE
)

Arguments

emuDBhandle

emuDB handle object (see load_emuDB)

name

name of bundleList (excluding the _bundleList.json suffix)

bundleList

tibble/data.frame with the columns session, name, comment (optional), finishedEditing (optional). Use list_bundles

seglist

segment list returned by query function. If set the bundleList parameter will be ignored and a bundleList will be created by collapsing the segments as timeAnchors into the _bundleList.json

updateDBconfig

if set to TRUE (the default) DBconfig will be updated with the fields

verbose

be verbose

  • "bundleComments": true

  • "bundleFinishedEditing": true

Details

Write bundleList JSON file to emuDB sub-dir bundleLists/