Data Analytics
StableTables: reading from files, the web and databases; cleaning, combining, grouping and SQL queries; writing to files and reports
113 nodes in 22 categories
- Ships with
- Divooka ExploreDivooka Compute
- Support tier
- Tier 1 (proposed)
- Package
- Data Analytics
Data Analytics
Tables: read them from files or download open datasets, clean, combine, group, reshape and query them with SQL, plot them, and write them up as spreadsheets or as PDF, PowerPoint and Word reports.
Column Operations
Add ColumnThe table with a column added at the end - or put in place of the column of that name, ignoring letter case.Change TypeThe table with columns converted to another kind - Number, Text, Truth or Date & Time.Drop ColumnsEvery column but these.Fill Empty CellsThe table with its empty cells filled: with a value, with zero, from the nearest value above or below, with the column's mean or median, or along a straight line between the values on either side.Formula ColumnA column computed from a formula over each row - Units * [Unit Price], IF(Revenue > 1000, "large", "small"), YEAR(Date) - added at the end, or put in place of the column of that name.Get ColumnOne column of a table, to work on by itself.Rename ColumnsThe table with columns renamed: each of From becomes the To in the same position.Rolling CalculationA column calculated over a moving window of rows: each row gets the mean, sum, minimum, maximum, median, standard deviation, variance or count of the Window rows ending at it - for the whole table or within each group.Running CalculationA column calculated down another, row after row: a running total, average, maximum or minimum, the difference or percent change from the previous row, each row's share of the total, its rank, or its row number - for the whole table or within each group.Select ColumnsOnly these columns, in this order.Shift ColumnA column of another column's values moved down by Periods rows - each row gets the value from that many rows before it, or after it when Periods is negative - for the whole table or within each group.Split ColumnA column of text split into several at a delimiter: "Ada Lovelace" split at a space into Name 1 and Name 2.
Table Values
CalculateA formula calculated on its own, from the values wired into X and Y: $x + $y, ROUND($x / $y, 2), UPPER($x).Column NamesA table's column names, in order.Column SummaryOne column summarized as one value: its sum, mean, median, count and the rest.Column To TextA column's values joined into one text: "North, South, East" - each value once, by default, in the order it first appears.Get CellThe value in one cell: a column, and a row counted from 1 - or from the end when negative, so -1 is the last row.Get DatesA column of dates as a Date & Time Array; an empty cell is the earliest date there is.Get NumbersA column of numbers as a Number Array, for nodes that take numbers - a chart, a vector.Get TextsA column as a Text Array, each value as it is written; an empty cell is empty text.Get TruthsA column of truths as a Truth Array; an empty cell is false.Table InfoA table's size and column names.Table To MarkdownThe table as a Markdown table, every row of it - for a report, a README or a chat message.Table To TextThe table as aligned text to print or show: its first Max Rows rows under their column names, numbers to the right.
Row Operations
Drop Empty RowsThe rows with empty cells removed: a row goes when any of the chosen columns (every column when none are chosen) is empty - or, with All Empty, only when every one of them is.Filter By FormulaThe rows for which a formula holds - Region = "West" and Units > 10 - and, on the second output, the rows for which it does not.Filter By TruthsThe rows where a column of truths is true - a condition built from other nodes - and, on the second output, the rest.Filter RowsThe rows whose value in a column passes a comparison - equals, is greater than, contains, is one of and the rest - and, on the second output, the rows that do not.Random SampleA random sample of rows, kept in their original order.Remove DuplicatesThe rows with duplicates removed: a row is a duplicate when its values in the chosen columns (every column when none are chosen) repeat an earlier row's.Shuffle RowsThe rows in a random order; the same seed gives the same order.Sort RowsThe rows in order of one or more columns: the first column decides, the next breaks its ties, and so on.Split RowsThe rows split at random into two parts - Fraction of them in the first, the rest in the second - as training and test sets are made.Take RowsSome rows by position: the first Count rows after skipping Skip of them, or - from the end - the last Count rows before the last Skip.Top NThe rows with the largest - or smallest - values of a column, largest first.
Statistics
CorrelationThe Pearson correlation of two columns: 1 when they rise together in a straight line, -1 when one falls as the other rises, near 0 when they are unrelated.Correlation MatrixThe correlation of every pair of number columns, as a table: a row and a column per number column.CovarianceThe sample covariance of two columns.MaximumThe largest of a column's numbers.MeanThe arithmetic average of a column's numbers.MedianThe middle of a column's numbers - half are above it and half below.MinimumThe smallest of a column's numbers.QuantileThe value a share Q of a column's numbers lie below: 0.25 is the first quartile, 0.5 the median, 0.9 the 90th percentile - between two numbers, a straight line between them.Standard DeviationThe sample standard deviation of a column's numbers: how far they typically lie from their mean.SumThe total of a column's numbers.VarianceThe sample variance of a column's numbers: the squared deviations from the mean, summed, over n - 1.
Report Content
Add ChartA chart, with a caption under it saying what to read in it.Add HeadingA heading, starting a section: in a document it stands above what follows; in a deck it titles the slides that follow.Add Key FigureOne number that matters, set large with what it is above it.Add TableA table under a title.Add TextA paragraph of text.Format NumberA number as a report writes it: with Decimals decimals when that is 0 or more, otherwise as a printed table shows it; either way with thousands separators from ten thousand up, so a year stays 2025 and a revenue reads 180,091.04.Format ValueA value as a key figure shows it: a number in the format asked for, or as it is with thousands separators from ten thousand up; anything else as its text.New ReportA new, empty report: its title, a line saying what it is about, and who prepared it.
Table Sources
Empty TableA table with these columns and no rows, each column of the given kind (Text when no kinds are given).Number SequenceA one-column table counting from Start to End in steps of Step - 1, 2, 3 … 10 by default.Sample DatasetOne 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).Table From ColumnsA table made of columns, under these names - the names and the columns in the same order.Table From ListA 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.Table ListUp to four tables as a list, in order - for the nodes that take several at once: Query With SQL, Write Spreadsheet, Append Rows.
Columns
Column From ListA column from any list: numbers make a Number column, text a Text column, and so on; values of different kinds make text.Column InfoWhat a column holds and how much: its length, kind, and how many of its values are empty.Make Date ColumnA column of dates.Make Number ColumnA column of numbers; NaN is an empty cell.Make Text ColumnA column of text; empty text is an empty cell.Make Truth ColumnA column of truths.
Document Files
Read Document ParagraphsA .docx document's paragraphs, in order, as a table: Level (a heading's level from 1, missing for body text), Style (the style the paragraph is set in) and Text.Read Document TableOne table of a .docx document, by its number from 1, as a table named Table 1, Table 2 and on - read as Read Document Tables reads each.Read Document TablesEvery table in a .docx document, in order, each as a table named Table 1, Table 2 and on.Read Document TextA .docx document's text: a line for each paragraph, and for each row of a table its cells apart by tabs.Write DocumentWrites a .docx document and gives back its path: the title at the top when there is one, then each paragraph, then each table under its name in bold, with a header row repeated on every page it runs onto.
CSV Files
Parse CSVA table from CSV text typed or pasted into the node - the quickest way to make a small table by hand.Read CSVA table from a CSV file: a column per field, each read as numbers, truths or dates where every value reads as one, and as text otherwise.To CSVA table as CSV text.Write CSVWrites a table to a CSV file - UTF-8 with a byte-order mark, so a spreadsheet reads accents correctly - and gives back the file's path.
JSON Files
Parse JSONA table from JSON text - a web API's response, or records typed into the node.Read JSONA table from a JSON file: an array of objects is a row per object and a column per key; an object holding one such array, as an API response does, is read the same way; an object of equal-length arrays is a column per array.To JSONA table as JSON text: an array of records, one object per row.Write JSONWrites a table to a JSON file as an array of records, one object per row, and gives back the file's path.
Spreadsheet Files
Read All SheetsEvery sheet of an .xlsx workbook as a table, in order.Read SpreadsheetA sheet of an .xlsx workbook as a table: the first sheet when none is named.Sheet NamesThe names of an .xlsx workbook's sheets, in order.Write SpreadsheetWrites tables to an .xlsx workbook, a sheet each - a bold header kept in view while scrolling, a filter on every column, dates formatted as dates, columns wide enough to read - and gives back the file's path.
SQLite Files
Query SQLiteRuns a query in SQLite's own SQL on a database file and gives back the rows it answers with as a table.Read SQLiteA table or view of a SQLite database, every row of it: the first one made when none is named.SQLite Table NamesThe names of a SQLite database's tables and views, in the order they were made.Write SQLiteWrites tables into a SQLite database file, a database table each, and gives back the file's path.
Table Aggregation
Describe ColumnsA profile of every column: a row per column with its kind, how many values it has and is missing, how many are different, its smallest and largest, its mean, median and standard deviation (for numbers), and its most common value.Group And AggregateThe rows grouped by the values of some columns, and one column of each group summarized with one summary - Sum, Mean, Count and the rest.Group And SummarizeThe rows grouped by the values of some columns, and each group summarized: one row per group, its key columns and then a column per summary.Value CountsHow often each value of a column occurs: the values and their counts, most frequent first.
Report Export
Folder VariableThe environment variable that moves the reports folder.Report Page CountHow many pages the report takes as a PDF document, or how many slides as a PowerPoint deck.Reports FolderWhere reports are written when Save Report is given only a name: a Reports folder in the Divooka folder of the user's documents, or the folder the DIVOOKA_REPORTS_FOLDER environment variable names.Save ReportWrites the report as a PDF document (.pdf, A4 pages), a PowerPoint deck (.pptx, 16:9 slides) or a Word document (.docx) - the extension decides - and gives back the file's full path.
Table Combination
Append ColumnsTwo tables of the same number of rows set side by side: the left table's columns, then the right's - with the suffix where the left already uses a name.Append RowsTables stacked one above another, rows of the first table first.JoinTwo tables joined on key columns: each row of the left table beside the rows of the right table whose keys match it.
Table Reshaping
PivotA pivot table: a row per value of the Rows columns, a column per value of the Pivot column, and in each cell the Value column of the rows that fall there, summarized - the sales of each region by month, say.TransposeRows turned into columns and columns into rows.UnpivotColumns turned into rows - the opposite of a pivot, also called melt: each row becomes one row per value column, holding the ID columns, the value column's name and its value.
Table Queries
Explain SQLThe plan the engine makes for a SQL SELECT over tables - which filters it pushes down, which side of a join it hashes - as text, to see why a query is slow or what it does.LoadThe tables loaded under their names: the name given, else the table's own, else Table1, Table2 and so on.Query With SQLThe answer to a SQL SELECT over tables, as a table: SELECT Region, SUM(Revenue) AS Revenue FROM Sales GROUP BY Region ORDER BY Revenue DESC.
Datasets
REST Sources
Query CSV APIA table from a web API that answers in CSV: the query is sent to the address on every run, and the answer is read as Read CSV reads a file - the delimiter told from the text unless one is given, each column's kind inferred.Query JSON APIA table from a web API that answers in JSON: the query is sent to the address on every run, and the rows are read from where Rows Path leads - an array of records, a column per field, or an array of arrays, its cells named by Columns in order.
Presentation Files
Read SlidesA .pptx slide deck's slides, in order, as a table: Slide (its number from 1), Title, Text (the rest of the slide's words, a line for each paragraph) and Notes (its speaker notes), each missing where the slide has none.Write SlidesWrites a .pptx slide deck of 16:9 slides and gives back its path: a slide for each title, its text - a line a point - from the text at the same place in Texts, and its speaker notes from Notes.