list_files: List files of emuDB

View source: R/emuR-database.files.R

list_filesR Documentation

List files of emuDB

Description

List files belonging to emuDB. For more information on the structural elements of an emuDB see vignette{emuDB}.

Usage

list_files(
  emuDBhandle,
  fileExtension = ".*",
  sessionPattern = ".*",
  bundlePattern = ".*"
)

Arguments

emuDBhandle

emuDB handle as returned by load_emuDB

fileExtension

file extension of files

sessionPattern

A (RegEx) pattern matching sessions to be searched from the database

bundlePattern

A (RegEx) pattern matching bundles to be searched from the database

Value

file paths as character vector

Examples

## Not run: 

##################################
# prerequisite: loaded ae emuDB
# (see ?load_emuDB for more information)

# list all files of ae emuDB
list_files(emuDBhandle = ae)

# list all files of ae emuDB in bundles ending with '3'
list_files(emuDBhandle = ae, bundlePattern=".*3$") 


## End(Not run)


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