get_session_by_id: Get Session (Slot) Data From A Databrary Volume

View source: R/get_session_by_id.R

get_session_by_idR Documentation

Get Session (Slot) Data From A Databrary Volume

Description

Get Session (Slot) Data From A Databrary Volume

Usage

get_session_by_id(session_id = 9807, vol_id = 1, vb = FALSE, rq = NULL)

Arguments

session_id

An integer indicating a valid session/slot identifier linked to a volume. Default value is 9807, the materials folder for volume 1.

vol_id

An integer indicating the volume identifier. Default is 1.

vb

A logical value. Show verbose feedback. Default is FALSE.

rq

An httr2 request object.

Value

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

Examples


## Not run: 
get_session_by_id() # Default is Volume 1, Session 9807, the Materials folder

## End(Not run)


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