schema: SciDB array schema

Description Usage Arguments Value Examples

View source: R/schema-utils.R

Description

SciDB array schema

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## 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 May 13, 2018, 7:34 p.m.