Extracts data directory, it's parent and names of data files (*.asc) within the directory. This will aid with creating an analysis pipeline.
Arguments
- file_path
Optional path to data directory. Defaults to
NULL
and opens GUI for directory selection.
See also
set_pkg_environment to generate the required matools_env
Examples
library(matools)
set_pkg_environment()
set_data_directory(file_path = getwd())
print(matools_env$directory_data)
#> [1] "/home/runner/work/matools/matools/docs/reference"