Skip to contents

Download only GDS files that can be processed by dracarys.

Usage

dr_gds_download(
  gdsdir,
  outdir,
  token,
  page_size = 100,
  pattern = NULL,
  dryrun = FALSE,
  regexes = DR_FILE_REGEX,
  recursive = NULL
)

Arguments

gdsdir

Full path to GDS directory.

outdir

Path to output directory.

token

ICA access token (def: $ICA_ACCESS_TOKEN env var).

page_size

Page size (def: 100).

pattern

Pattern to further filter the returned file type tibble.

dryrun

If TRUE, just list the files that will be downloaded (don't download them).

regexes

Tibble with regex and function name.

recursive

Should files be returned recursively in and under the specified GDS directory (TRUE), or only directly in the specified GDS directory (FALSE) (def: TRUE).