schema: SciDB array schema

View source: R/schema-utils.R

schemaR Documentation

SciDB array schema

Description

SciDB array schema

Usage

schema(x, what = c("schema", "attributes", "dimensions"))

Arguments

x

a scidb array object

what

optional schema subset (subsets are returned in data frames; partial argument matching is supported)

Value

character-valued SciDB array schema

Examples

## Not run: 
s <- scidbconnect()
x <- scidb(s,"build(<v:double>[i=1:10,2,0,j=0:19,1,0],0)")
schema(x)
# [1] "<v:double> [i=1:10:0:2; j=0:19:0:1]"
schema(x, "attributes")
#  name   type nullable
#1    v double     TRUE
schema(x, "dimensions")
# name start end chunk overlap
#1    i     1  10     2       j
#2    0     0  19     1       0

## End(Not run)

Paradigm4/SciDBR documentation built on Nov. 9, 2023, 4:58 a.m.