Trade Data Tools v1 · open source

From raw administrative data to official trade statistics, in one platform.

TDT is the next-generation compilation platform from the United Nations Statistics Division and Eurostat. It is web-based, multi-user and cloud-ready, and it has no licence fees.

Trade Data Tool · Dashboard
TDT dashboard showing current batches, quick access and batch work queue
Open Source
No licences needed. Source code vailable for anyone to view, use, modify, and share
3 layers
Bronze → Silver → Gold data quality
Any deployment
Cloud, on-premises or local
UNSD × Eurostat
Built on the Eurotrace legacy
Why TDT

Trade compilation is due for an upgrade.

Many national statistical offices still compile trade data with desktop tools, spreadsheets and manual hand-offs. TDT replaces that with automated, auditable pipelines that a whole team can work on at once.

Today Fragmented & manual

  • Desktop tools tied to one machine or a single user
  • Validation scripts scattered across files and people
  • Errors found late and fixed by hand, with no audit trail
  • Upgrades mean full reinstallation
  • Separate tools for storage, processing and charts

With TDT Automated & collaborative

  • Browser-based, so the whole team works together in real time
  • Configurable pipelines take data from import to validation to aggregation
  • Built-in error management with correction and one-click re-processing
  • Containerized microservices that update without reinstalling
  • Storage, database, notebooks and analytics in one platform
Medallion architecture

Quality is built into every layer.

TDT borrows the proven lakehouse pattern. Data improves at each step, and every step can be traced and repeated.

R

Raw files

Customs declarations, registers, surveys, and ministry records, uploaded to secure buckets.

→
B

Bronze

Raw data lands as-is and is mapped to dataset structures and metadata.

→
S

Silver

Validated, standardized and corrected. This is the single source of truth.

→
G

Gold

Aggregated, publication-ready outputs that can be reached through the API and analytics.

The platform

Everything a compiler needs, in one place.

A clean, modern interface built around how trade statisticians actually work.

Pipelines

Automate the journey from import to release.

Each pipeline is a set of rule stages written as Apache Zeppelin notebooks in SQL, Python or R. You run it, track it, and run it again whenever you need to.

  • Stages run in sequence with clear status for every batch
  • Bronze, Silver and Gold jobs are tracked in one list
  • Notes, history and job details for full traceability
Pipeline jobs list
Error management

Find and fix bad records before they reach your statistics.

TDT groups every issue by type and shows it to the user, so compilers spend their time fixing errors rather than searching for them.

  • Metadata code checks, required values, duplicates and custom rules
  • Correct one record or many matching records at once
  • Re-process the pipeline in one click
Error management screen with error categories and records to correct
Advanced data search

Search millions of records in seconds.

Query any Bronze, Silver or Gold dataset with AND/OR filter groups. You can save searches, choose columns, edit records in place and download the results.

  • Complex filter logic without writing SQL
  • Saved and reusable searches
  • Downloads are prepared in the background
Advanced data search results
Metadata & datasets

Structure that keeps everything consistent.

Define classifications and dictionaries such as HS, SITC, countries and customs offices once, then reuse them in every dataset and validation rule.

  • Dimensions, data types, keys and access roles
  • Import, export and clone metadata
  • Locked, versioned dataset structures
Metadata list
Analytics powered by Apache Superset

Turn Gold data into dashboards your decision-makers will use.

TDT connects to Apache Superset, one of the most widely used open-source business intelligence platforms. Compiled trade data can go straight into interactive charts and dashboards, with no export step, no copy-and-paste and no licence fees.

Dashboards open from inside TDT, and administrators control access to each dashboard and dataset by role or by user.

Pivot tablesTime seriesMaps HeatmapsSankey flowsKPIs SQL Lab40+ chart types
Apache Superset chart builder connected to TDT
Built for national statistical offices

Enterprise-grade, without enterprise costs.

Multi-user by design

Role-based access lets managers, compilers and administrators work on the same data in parallel.

Deploy anywhere

Cloud, on-premises or a local install. Kubernetes and containers let you match the setup to your infrastructure and data-sovereignty rules.

Fully open source

MariaDB, MinIO, Zeppelin and Superset are all open source. There are no licences to buy and no vendor lock-in.

Seamless updates

Independent microservices are updated individually, without reinstalling the system.

Open API

A REST API exposes Gold datasets to Power BI, Excel and dissemination tools.

Ready for UN Comtrade

Better-quality IMTS can be released sooner and submitted more easily to global databases.

Kubernetes.NET microservicesDaprMariaDBMinIOApache ZeppelinApache Superset
Road to v1

Six years in the making. Almost here.

2020–21

Listening to countries

A global assessment of Eurotrace and PC Trade users, followed by detailed specifications and the first prototype.

2022–23

MVP released

Core modules stabilized and shown to EAC, AUC, SACU and ASEAN.

2024

Proof of concept in Eswatini

Tested with real data and validation rules. On-premises deployment added.

2025

Hardened & trained

Performance and usability fixes, and training in Guyana with the Bureau of Statistics and the CARICOM Secretariat.

2026

Version 1, open source

A redesigned interface, Superset analytics, regional training with the African Union Commission and country pilot missions.

Be among the first countries to compile with TDT.

We are now selecting partners for pilot implementations. Tell us about your trade statistics workflow and we'll show you what TDT can do with it.

Contact comtrade@un.org →