Table Sources
6 nodes
On this page 6
Empty Table
FunctionA table with these columns and no rows, each column of the given kind (Text when no kinds are given).
EmptyTable -> Table
columns: Text Array
types: ColumnType ArrayTable EmptyTable(string[] columns, ColumnType[] types)
Parameters
| name | type | default | description |
|---|---|---|---|
| columns | Text Array | — | The column names. |
| types | ColumnType Array | — | Each column's kind, in the same order; Text where not given. |
Returns
| Table | Table |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Table Sources
- Package
- Data Analytics
Number Sequence
FunctionA one-column table counting from Start to End in steps of Step - 1, 2, 3 … 10 by default.
NumberSequence -> Table
start: Number
end: Number
step: Number
name: TextTable NumberSequence(
double start = 1,
double end = 10,
double step = 1,
string name = "n")Parameters
| name | type | default | description |
|---|---|---|---|
| start | Number | 1 | The first number. |
| end | Number | 10 | The last number, if the steps land on it. |
| step | Number | 1 | How far apart the numbers are; negative counts down. |
| name | Text | n | The column's name. |
Returns
| Table | Table |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Table Sources
- Package
- Data Analytics
Sample Dataset
FunctionOne of the built-in sample datasets: Sales (1,200 order lines), Customers (60), Orders (500, some referring to customers that do not exist), Weather (a year of five cities) or Employees (80, with gaps and inconsistent spellings to clean up).
SampleDataset(dataset: Sample Data) -> Table
Table SampleDataset(SampleData dataset = SampleData.Sales)
Parameters
| name | type | default | description |
|---|---|---|---|
| dataset | Sample Data | Sales | Which dataset. |
Returns
| Table | Table |
Remarks
Synthetic and generated from fixed seeds, so every machine gets the same table, and it is the same table Divooka Lite's Sample Dataset gives.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Table Sources
- Package
- Data Analytics
Table From Columns
FunctionA table made of columns, under these names - the names and the columns in the same order.
TableFromColumns -> Table
names: Text Array
columns: Column Array
tableName: TextTable TableFromColumns(
string[] names,
Column[] columns,
string tableName = "")Parameters
| name | type | default | description |
|---|---|---|---|
| names | Text Array | — | The column names. |
| columns | Column Array | — | The columns, all the same length. |
| tableName | Text | — | What the table is called where it needs a name; optional. |
Returns
| Table | Table |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Table Sources
- Package
- Data Analytics
Table From List
FunctionA table from a list: a list of numbers, text or dates is one column; a list of records (objects with properties) is a column per property.
TableFromList(values: Any, column: Text) -> Table
Table TableFromList(object values, string column = "Value")
Parameters
| name | type | default | description |
|---|---|---|---|
| values | Any | — | An array or list of anything. |
| column | Text | Value | The column's name, for a list of single values. |
Returns
| Table | Table |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Table Sources
- Package
- Data Analytics
Table List
FunctionUp to four tables as a list, in order - for the nodes that take several at once: Query With SQL, Write Spreadsheet, Append Rows. A pin left unconnected is left out.
TableList -> Table Array
first: Table
second: Table
third: Table
fourth: TableTable[] TableList(
Table first,
Table second,
Table third,
Table fourth)Parameters
| name | type | default | description |
|---|---|---|---|
| first | Table | — | The first table. |
| second | Table | — | The second; optional. |
| third | Table | — | The third; optional. |
| fourth | Table | — | The fourth; optional. |
Returns
| Tables | Table Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Table Sources
- Package
- Data Analytics