Federal · Statistics and National Data
National accounts and economic statistics
Build GDP and the national accounts from source data you can trace.
The problem today
The national accounts combine hundreds of sources, from business surveys to tax data, through thousands of spreadsheet links and legacy programs. A revision to one input takes days to flow through, and few people can trace a number to its source.
What changes
- Every quarterly estimate rebuilt from source data in one repeatable run.
- Revisions flowed through the whole system in hours, with their effect shown at every level.
- Every published figure traceable back to the inputs that produced it.
Your system, layer by layer
| Store | Source series, balancing adjustments and published tables as files in S3, with every quarter's run kept. |
|---|---|
| Index | Series, industry, sector and period indexes over decades of accounts. |
| Process | Compilation, seasonal adjustment, balancing and table pipelines on Fargate, each a frozen version of the method. |
| Interface | A compilation workspace for economists, a revisions explorer, and a command line and Python library for national accountants. |
| Operate | Diagnostics on every source series, versioned methods and an audit trail from source to published GDP. |
The extended story
Hundreds of sources, one economy
The national accounts combine business surveys, tax data, trade statistics, government finance records, prices and many other sources into a single picture of the economy. Each source arrives on its own timetable and in its own shape. The system brings them together in one consistent framework, so every quarterly estimate starts from the same complete set of inputs. Nothing is missed or used twice.
Replacing spreadsheet chains
Today many estimates flow through thousands of linked spreadsheets and legacy programs that only a few specialists understand. Each step is rebuilt as a documented, versioned processing step with clear inputs and outputs. The calculation becomes visible end to end, and knowledge that lived in individual workbooks becomes part of the system everyone can inspect. New staff can learn the system from its documented steps rather than from individual mentors.
Accounting rules as code
Concepts from the international System of National Accounts, seasonal adjustment settings, chain-volume methods and balancing rules are written down as versioned rules. When a methodology changes, it changes in one place, and the effect can be tested across the whole history before it is adopted. Every estimate records the rule versions that produced it. Methodology reviews become evidence-based, with the full impact visible before any decision.
A whole quarter in one run
Each quarter, the full set of accounts is rebuilt from source data in one repeatable run across many containers on Fargate. Supply-use balancing, deflation and seasonal adjustment complete in hours. Analysts spend the quarter examining results and confronting sources rather than nursing a fragile production chain through its many manual steps. The production run itself becomes routine, predictable and documented end to end.
Revisions without fear
When a source is revised, the change flows through every dependent estimate automatically. The system shows the effect of each revision at every level, from detailed industry figures up to GDP, before anything is published. Analysts can explain each revision precisely, which builds confidence with markets, Treasury and the public who rely on the figures. Each revision is published with a clear explanation of its source and size.
Every figure traced to its inputs
Click any published figure and see the inputs, rules and adjustments that produced it. Lineage runs from GDP down to individual source series and back. Questions from ministers, economists or journalists about why a number moved can be answered in minutes with evidence, rather than days of searching through workbooks and emails. Every answer comes with the evidence trail that supports it.
History kept and reproducible
Every quarter's inputs, rule versions and results are kept as files. Any past release can be rebuilt exactly, and long historical series can be recompiled when a methodology improves. Real-time datasets of first estimates and later revisions support research into how reliable early figures are, a question users of the accounts care about deeply. Users can examine exactly how first estimates changed as more data arrived.
Analysts see the economy visually
Browser dashboards show contributions to growth, revisions, balancing differences and source confrontations as charts that analysts can explore. Drilling from a headline aggregate into industries, sectors and sources takes a click. Large balancing adjustments and unusual movements stand out, so attention goes to where it matters most during the tight quarterly cycle. Senior economists can focus the team's limited time on the most significant issues.
Controlled release under embargo
National accounts move markets. The system enforces strict access before release, logs every view of embargoed results and builds the publication tables from the final locked dataset. Release-day steps are automated and checked, so the agency can publish on time, every time, with the figures exactly as approved. Every release-day step is logged, providing a complete record for later review.
Faster, clearer, more trusted estimates
The outcome is a quarterly cycle that is quicker, less fragile and fully explainable. Specialists spend their time on economic analysis instead of production mechanics. Revisions are understood and communicated well, and the accounts can adopt new data sources and methods without years of rebuilding the production system around them. New administrative and big data sources can be added as additional inputs rather than rebuilt systems.