import_mediaFiles {emuR}R Documentation

Import media files to emuDB

Description

Import new recordings (media files) to emuDB and create bundles. Looks for files with the defined mediafile extension of the emuDB (see mediaFileExtension in vignette emuDB) in dir or in sub-directories thereof (interpreted as sessions), for each mediafile create a bundle directory named as the basename of the mediafile in the specified session, and copies the mediafile into the bundle. If not already present, adds 'OSCI' and 'SPEC' perspectives to the emuDB config file.

Usage

import_mediaFiles(emuDBhandle, dir, targetSessionName = "0000", verbose = TRUE)

Arguments

emuDBhandle

emuDB handle as returned by load_emuDB

dir

directory containing mediafiles or session directories

targetSessionName

name of session in which to create the new bundles

verbose

display infos & show progress bar

Examples

## Not run: 
## Add mediafiles from directory

 import_mediaFiles(myEmuDB,dir="/data/mymedia/")


## End(Not run)

[Package emuR version 2.5.0 Index]