Skip to contents

Download Zip Archive From Databrary Session.

Usage

download_session_zip(
  vol_id = 31,
  session_id = 9803,
  out_dir = tempdir(),
  file_name = "test.zip",
  vb = options::opt("vb"),
  rq = NULL
)

Arguments

vol_id

Volume number.

session_id

Slot/session number.

out_dir

Directory to save output file.

file_name

Name for downloaded file, default is 'test.zip'.

vb

Show verbose messages. (Defaults to FALSE, overwritable using option 'databraryr.vb' or environment variable 'R_DATABRARYR_VB')

rq

An httr2 request object. Default is NULL.

Value

Full filename of the downloaded file.

Examples

# \donttest{
if (FALSE) { # \dontrun{
download_session_zip() # Downloads Zip Archive from volume 31, session 9803
} # }
# }