.downloadProductFiles {onc.api}R Documentation

Download all data product files for provided run id

Description

Download all data product files for provided run id

Usage

.downloadProductFiles(
  self,
  runId = 0,
  getMetadata = TRUE,
  maxRetries = 0,
  overwrite = TRUE,
  fileCount = 0
)

Arguments

self

Caling object

runId

Run id returned by .runDataProduct()

getMetadata

When TRUE, the metadata file will be downloaded

maxRetries

(numeric) Maximum number of API requests allowed, 0 for no limit

overwrite

(logical) When TRUE downloaded files will overwrite any file with the same filename, otherwise they will be skipped

fileCount

The number of files to download, or 0 if unknown

Value

a list of named lists, with the results for each file


[Package onc.api version 2.0.1.0 Index]