Rename bundles of emuDB.
rename_bundles(emuDBhandle, bundles)
emuDB handle as returned by load_emuDB
data.frame like object with the columns
session
: name of sessions containing bundle
name
: name of bundle
name_new
: new name given to bundle
It is worth noting that session
and name
are the columns returned by
list_bundles
.
if (FALSE) {
##################################
# prerequisite: loaded ae emuDB
# (see ?load_emuDB for more information)
# list bundles of session "0000" of ae emuDB
bundles = list_bundles(emuDBhandle = ae,
session = "0000")
# append "XXX" to bundle names and rename
bundles$name_new = paste0(bundles$name, "XXX")
rename_bundles(emuDBhandle, bundles)
}
Run the code above in your browser using DataLab