Get file info for a sequence of experiment filesSource:
Grab metadata from files stored in the same folder (e.g. a sequence of trials in an experiment).
Path where files are stored. Should be in the same folder.
Regex pattern for identifying relevant files in the file_path.
data.frame (if a single file is supplied) or a
data.frames (if a list of files is supplied), with
information as supplied from
If several files (e.g. successive trials from one experiment) are
stored in one folder, use this function to obtain metadata in a list
file.info() from base R to extract info from files.
This function is not truly considered to be part of the batch analysis
read_analyze_wl_dir() for a similar function that not
only grabs metadata but also imports & analyzes files. Instead,
get_wl_metadata() is meant to be a handy function to investigate
metadata issues that arise if running
read_analyze_wl_dir() goes awry.
read_analyze_wl_dir(), this function does not necessarily need
files to all be work loops. Any file type is welcome (as long as the Regex
pattern argument makes sense).