Skip to contents

Creates a txt file summarizing information about all available datasets by automatically searching for config.yaml, object.rds and tiledb/ in each subfolder of specified db_dir.

The order of the datasets is alphanumerical according to the name of the folder containing them. Therefore, to change the order of the datasets, simply add the desired position to the folder name (e.g. if the folder zzz/ contains the first dataset to show, rename it to 1_zzz/).

Usage

update_summary(db_dir, output_file, config_filename = "config.yaml")

Arguments

db_dir

a character, corresponding to the path of the database (containing subfolders)

output_file

a character, corresponding to the filename to give to the txt. It will automatically be in the db_dir.

config_filename

a character, corresponding to the name of the yaml configuration files to look for (by default "config.yaml")

Value

None. It creates a txt file.

Examples

if (FALSE) { # \dontrun{
update_summary("db/", "dataset_summary.txt")
} # }