Generate a Drake Plan for Datasets

build_datasets_plan(
  path = get_default_data_path(),
  include_retriever_data = FALSE,
  include_bbs_data = FALSE,
  bbs_subset = NULL,
  include_gpdd_data = FALSE,
  include_biotime_data = FALSE,
  biotime_subset = NULL,
  biotime_process = TRUE
)

Arguments

path

where to get the downloaded retriever datasets

include_retriever_data

whether to include retriever-downloaded data

include_bbs_data

whether to include BBS data

bbs_subset

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

include_gpdd_data

whether to include gpdd data

include_biotime_data

whether to include biotime data

biotime_subset

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

biotime_process

whether to process the biotime datasets when building the plan

Value

a drake plan (i.e. a tibble) specifying the targets and commands for gathering datasets