get_asset_segment_range: Get Time Range For An Asset.

View source: R/utils.R

get_asset_segment_rangeR Documentation

Get Time Range For An Asset.

Description

Get Time Range For An Asset.

Usage

get_asset_segment_range(
  vol_id = 1,
  session_id = 9807,
  asset_id = 1,
  convert_JSON = TRUE,
  segment_only = TRUE,
  vb = FALSE,
  rq = NULL
)

Arguments

vol_id

Volume ID

session_id

Slot/session number.

asset_id

Asset number.

convert_JSON

A Boolean value. If TRUE, convert JSON to a data frame. Default is TRUE.

segment_only

A Boolean value. If TRUE, returns only the segment values. Otherwise returns a data frame with two fields, segment and permission. Default is TRUE.

vb

A Boolean value. If TRUE provides verbose output.

rq

An httr2 request object. Default is NULL.

Value

The time range (in ms) for an asset, if one is indicated.

Examples


get_asset_segment_range()



PLAY-behaviorome/databraryapi documentation built on April 19, 2024, 12:15 a.m.