Transform data
Raw source output rarely fits the next step as it is. Transform nodes clean and reshape it between a source and a chart, a table or an action.
Where the nodes are#
Most live under Utilities in the plugin library, split into Constants, Text, Dates, Lists, Logic and Notes & display. The Transform group holds Identifiers and Entities (see Entities and the graph).
- Lists: Filter, Merge, Group into lists, Join by key, Sort & top N, New items since last run.
- Text: Concat, Lowercase, Uppercase, Trim, Split, Parse JSON, Regex extract, Regex test.
- Dates and logic: Parse date, Compare numbers, Compare strings, Boolean logic, Not.
- Identifiers: Validate CNPJ, Validate CPF, Normalize plate, Parse CNJ case number. They check the format locally and call no service.
- Files (a separate group of the library, not Utilities): Read table file, Export CSV and Extract text turn files into rows or text and back.
Example: the biggest open tenders#
- Add Public tenders, type a keyword such as
softwareand keep Status on Open. - Add Sort & top N. Set Sort by to
estimatedValue, Order to Largest first and Keep top to 10. - Wire the Rows output of Public tenders to the Items input of Sort & top N.
- Wire its Sorted output to a Table node (Charts & views) and run the tab.
Joining two lists#
Join by key puts two lists side by side on a shared key, such as an IBGE municipality code. It has a main list and a list to join. Rows without a match chooses between leaving them out and keeping them. A second output lists the keys that found no match, and a third reports coverage, so a bad join is never silent.
Reacting only to what is new#
New items since last run keeps the items it has not seen on its previous run. Set Identity field to a stable id, or leave it blank to compare the whole item. On the first run every item is new, and the First run output says so. This is how a scheduled monitor alerts only on what changed.
Next: Statistics, charts and maps.