Extract fileNames from data file(s) and add them to access.csv. The helper validate_file_paths can be used to create vectors of valid file paths that can be checked and then passed as data_path argument to prep_access.

prep_access(data_path = "data", access_path = "data/metadata/access.csv", ...)

## Arguments

data_path character vector of either: path(s) to the data file(s). single path to directory containing data file(s). Currently only tabular .csv and .tsv or .rds files are supported. path to the access.csv file. Defaults to "data/metadata/access.csv". parameters passed to list.files(). For example, use recursive = TRUE to list files in a folder recursively or use pattern to filter files for patterns.

## Value

Updates access.csv and writes to access_path.