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 Example
Boolean valueBoolean true
Date valueDate 2021-12-31
Float valueFloat 10.00
Geo valueGeo (-69.718107, 42.321471)
Integer valueInteger 10
Json valueJson {"foo": "bar"}
String valueString Hello World
Time valueTime 10:59am

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