search_files.Rd
find files in BIDS tree by matching file names
search_files(x, ...) # S3 method for bids_project search_files( x, regex = ".*", full_path = FALSE, strict = TRUE, new = FALSE, ... )
x | the |
---|---|
... | additional keys to match on (e.g. subid = "01", task="wm") |
regex | a regular expression to match files |
full_path | return full_path of files |
strict | if |
proj <- bids_project(system.file("extdata/ds001", package="bidser"), fmriprep=FALSE) x = search_files(proj, regex="events")