Skip to content

Data Types

mathcoll edited this page May 13, 2021 · 9 revisions

Data Types in t6

t6 implement a list of 8 datatypes. Each of them is storing Datapoint value to a specific Field (and cannot be moved later).

DataType Field in Db
Boolean valueBoolean
Date valueDate
Float valueFloat
Geo valueGeo
Integer valueInteger
Json valueJson
String valueString
Time valueTime

Each of them is having two attributes: type and classification which must match the following diagram:

               ________________t6 Data Types_________________              
              |                       |                      |             
              |                       |                      |             
              v                       v                      v             
        +-------------+        +-------------+        +-------------+      
        |  Numerical  |        |   Object    |        | Categorical |      
        +-------------+        +-------------+        +-------------+      
                  /\                  |                  /\                
                 /  \                 |                 /  \               
                v    v                |                v    v              
  +-------------+    +-------------+  |  +-------------+    +-------------+
  |   Discrete  |    |  Continuous |  |  |   Ordinal   |    |   Nominal   |
  +-------------+    +-------------+  |  +-------------+    +-------------+
                            |         |         |                  |       
                            v         v         v                  v       
                         Integer    Json      String            Boolean    
                         Time       Geo                                    
                         Date                                              
                         Float                                             

A specific Api is provided to list those datatypes dynamically including their attributes (including id referring to identifier to be used when creating/editing resources from the Api) : General - Get DataTypes

Clone this wiki locally