write_bundleList: write bundleList

View source: R/emuR-bundleList.R

write_bundleListR Documentation

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/


emuR documentation built on Nov. 4, 2023, 1:06 a.m.