get_biotime_dataset_ids: Return BioTime dataset ids for individual loading

Description Usage Arguments Value Examples

View source: R/get_data_biotime.R

Description

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

Usage

1
2
3
4
5
6
7
8
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

1
2
3
4
5
6
7
8
## Not run: 
  get_biotime_dataset_ids()

## End(Not run)
## Not run: 
  prepare_biotime_data()

## End(Not run)

weecology/MATSS documentation built on May 15, 2020, 7:03 p.m.