get_volume_by_id: Get Data From A Databrary Volume

View source: R/get_volume_by_id.R

get_volume_by_idR Documentation

Get Data From A Databrary Volume

Description

Get Data From A Databrary Volume

Usage

get_volume_by_id(vol_id = 1, vb = FALSE, rq = NULL)

Arguments

vol_id

Volume ID.

vb

A logical value. Show verbose messages.

rq

An httr2 request object. If NULL (the default), a new request is generated using make_default_request(). To access restricted data, the user must login with a specific request object using login_db().

Value

A JSON blob with the volume data. If the user has previously logged in to Databrary via login_db(), then volume(s) that have restricted access can be downloaded, subject to the sharing release levels on those volume(s).

Examples


get_volume_by_id() # Default is Volume 1



PLAY-behaviorome/databraryapi documentation built on April 24, 2024, 4:20 a.m.