Retrieve the dataset ids from processed BioTime files. If the processed files do not exist, and do_processing == TRUE, then we also load the raw BioTime database and process the necessary datasets, too.

prepare_biotime_data is a thin wrapper around get_biotime_dataset_ids() for processing BioTime dataset

get_biotime_dataset_ids(
  path = get_default_data_path(),
  data_subset = NULL,
  do_processing = FALSE,
  force_reprocessing = FALSE
)

prepare_biotime_data(path = get_default_data_path(), data_subset = NULL)

Arguments

path

where to get the downloaded retriever datasets

data_subset

optional, a subset of the Biotime study_ids to use (to speed up development). As c(1:X)

do_processing

whether to process the datasets if necessary

force_reprocessing

whether to force re-processing of datasets

Value

vector of dataset ids in the processed set of files

vector of dataset ids in the processed set of files

Examples

if (FALSE) { get_biotime_dataset_ids() } if (FALSE) { prepare_biotime_data() }