Component: Table
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
The Table complex type provides data for the dataset, potentially for a concept or a slice, and is identified by a unique ID.
Each Table can contain multiple columns, each with an ID, data type, and optional format for parsing textual values.
Tables may include optional textual information and a data source location for retrieving the actual data.
Column data types are restricted to string, float, integer, boolean, date, and concept, ensuring data consistency.
A Table's data source can be specified using the "data" element, indicating the file format and encoding.
Element: Table / info
Namespace
http://schemas.google.com/dspl/2010
Annotations
Textual information about the table.
Diagram
Type
Info
Properties
content:
complex
minOccurs:
0
Model
name , description{0,1} , url{0,1}
Children
description , name , url
Instance
<info>
<name>{1,1}</name>
<description>{0,1}</description>
<url>{0,1}</url>
</info>
Source
<xs : element name = "info" type = "Info" minOccurs = "0" >
<xs : annotation >
<xs : documentation>Textual information about the table .</ xs : documentation >
</ xs : annotation >
</ xs : element >
Element: Table / column
Namespace
http://schemas.google.com/dspl/2010
Annotations
The specification of a column in the table.
Diagram
Properties
content:
complex
maxOccurs:
unbounded
Model
value* | conceptValue{0,1}
Children
conceptValue , value
Instance
<column format = "" id = "" type = "" >
<value lang = "" >{ 0 , unbounded } </ value >
<conceptValue concept = "" >{ 0 , 1 } </ conceptValue >
</ column >
Attributes
QName
Type
Fixed
Default
Use
Annotation
format
xs:string
optional
A format for the column, used to parse a textual
representation of the values. Date formats are defined by:
http://joda-time.sourceforge.net/api-release/org/joda/time/format/DateTimeFormat.html
id
LocalId
required
The identifier of the table column.
type
DataType
required
The data type of the table column. All values of the
column in the table must conform to this data type.
Source
<xs : element name = "column" maxOccurs = "unbounded" >
<xs : annotation >
<xs : documentation>The specification of a column in the table .</ xs : documentation >
</ xs : annotation >
<xs : complexType >
<xs : group ref = "ValuesGroup" minOccurs = "0" >
<xs : annotation >
<xs : documentation>A constant value for the column .</ xs : documentation >
</ xs : annotation >
</ xs : group >
<xs : attribute name = "id" type = "LocalId" use = "required" >
<xs : annotation >
<xs : documentation>The identifier of the table column .</ xs : documentation >
</ xs : annotation >
</ xs : attribute >
<xs : attribute name = "type" type = "DataType" use = "required" >
<xs : annotation >
<xs : documentation>The data type of the table column . All values of the
column in the table must conform to this data type .</ xs : documentation >
</ xs : annotation >
</ xs : attribute >
<xs : attribute name = "format" type = "xs:string" use = "optional" >
<xs : annotation >
<xs : documentation>A format for the column , used to parse a textual
representation of the values .
Date formats are defined by :
http :// joda - time . sourceforge . net /api-release/org/joda/time/format/DateTimeFormat.html</xs : documentation >
</ xs : annotation >
</ xs : attribute >
</ xs : complexType >
</ xs : element >
Element: Table / data
Namespace
http://schemas.google.com/dspl/2010
Annotations
A data source where data for the table can be
found.
Diagram
Type
Data
Properties
content:
complex
minOccurs:
0
Model
file
Children
file
Instance
<data>
<file encoding="utf-8" format="csv">{1,1}</file>
</data>
Source
<xs : element name = "data" type = "Data" minOccurs = "0" >
<xs : annotation >
<xs : documentation>A data source where data for the table can be found .</ xs : documentation >
</ xs : annotation >
</ xs : element >
Complex Type: Table
Namespace
http://schemas.google.com/dspl/2010
Annotations
A table provides data for the dataset. A table may provide data
for a concept or for a slice.
Diagram
Used by
Model
info{0,1} , column+ , data{0,1}
Children
column , data , info
Attributes
QName
Type
Fixed
Default
Use
Annotation
id
Id
required
The unique identifier of the table in the
dataset.
Source
<xs : complexType name = "Table" >
<xs : annotation >
<xs : documentation>A table provides data for the dataset . A table may provide data
for a concept or for a slice .</ xs : documentation >
</ xs : annotation >
<xs : sequence >
<xs : element name = "info" type = "Info" minOccurs = "0" >
<xs : annotation >
<xs : documentation>Textual information about the table .</ xs : documentation >
</ xs : annotation >
</ xs : element >
<xs : element name = "column" maxOccurs = "unbounded" >
<xs : annotation >
<xs : documentation>The specification of a column in the table .</ xs : documentation >
</ xs : annotation >
<xs : complexType >
<xs : group ref = "ValuesGroup" minOccurs = "0" >
<xs : annotation >
<xs : documentation>A constant value for the column .</ xs : documentation >
</ xs : annotation >
</ xs : group >
<xs : attribute name = "id" type = "LocalId" use = "required" >
<xs : annotation >
<xs : documentation>The identifier of the table column .</ xs : documentation >
</ xs : annotation >
</ xs : attribute >
<xs : attribute name = "type" type = "DataType" use = "required" >
<xs : annotation >
<xs : documentation>The data type of the table column . All values of the
column in the table must conform to this data type .</ xs : documentation >
</ xs : annotation >
</ xs : attribute >
<xs : attribute name = "format" type = "xs:string" use = "optional" >
<xs : annotation >
<xs : documentation>A format for the column , used to parse a textual
representation of the values .
Date formats are defined by :
http :// joda - time . sourceforge . net /api-release/org/joda/time/format/DateTimeFormat.html</xs : documentation >
</ xs : annotation >
</ xs : attribute >
</ xs : complexType >
</ xs : element >
<xs : element name = "data" type = "Data" minOccurs = "0" >
<xs : annotation >
<xs : documentation>A data source where data for the table can be found .</ xs : documentation >
</ xs : annotation >
</ xs : element >
</ xs : sequence >
<xs : attribute name = "id" type = "Id" use = "required" >
<xs : annotation >
<xs : documentation>The unique identifier of the table in the dataset .</ xs : documentation >
</ xs : annotation >
</ xs : attribute >
</ xs : complexType >
Namespace
No namespace
Annotations
A format for the column, used to parse a textual representation
of the values. Date formats are defined by:
http://joda-time.sourceforge.net/api-release/org/joda/time/format/DateTimeFormat.html
Type
xs:string
Properties
Source
<xs : attribute name = "format" type = "xs:string" use = "optional" >
<xs : annotation >
<xs : documentation>A format for the column , used to parse a textual
representation of the values .
Date formats are defined by :
http :// joda - time . sourceforge . net /api-release/org/joda/time/format/DateTimeFormat.html</xs : documentation >
</ xs : annotation >
</ xs : attribute >
Namespace
No namespace
Annotations
The identifier of the table column.
Type
LocalId
Properties
Facets
Source
<xs : attribute name = "id" type = "LocalId" use = "required" >
<xs : annotation >
<xs : documentation>The identifier of the table column .</ xs : documentation >
</ xs : annotation >
</ xs : attribute >
Namespace
No namespace
Annotations
The data type of the table column. All values of the column in
the table must conform to this data type.
Type
DataType
Properties
Facets
enumeration
string
enumeration
float
enumeration
integer
enumeration
boolean
enumeration
date
enumeration
concept
Source
<xs : attribute name = "type" type = "DataType" use = "required" >
<xs : annotation >
<xs : documentation>The data type of the table column . All values of the
column in the table must conform to this data type .</ xs : documentation >
</ xs : annotation >
</ xs : attribute >
Attribute: Table / @id
Namespace
No namespace
Annotations
The unique identifier of the table in the dataset.
Type
Id
Properties
Facets
Used by
Source
<xs : attribute name = "id" type = "Id" use = "required" >
<xs : annotation >
<xs : documentation>The unique identifier of the table in the dataset .</ xs : documentation >
</ xs : annotation >
</ xs : attribute >
Created using the
oXygen XML Editor .
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-06-26 UTC."],[],["Tables store dataset information, and they are uniquely identified by an ID. Each table can have optional textual information in its \"info\" section. Tables are comprised of columns and data. Columns require a unique ID, data type and optionally include a format to parse text values. Columns can be of various data types. The data section provides a file, with a specified encoding and format, as a source. Each column may define multiple values and an optional concept.\n"]]