Federal · Statistics and National Data
Price indexes from transaction data
Use billions of retail transactions to measure prices precisely.
The problem today
Supermarkets, retailers and online stores generate billions of price and quantity records, far more than traditional price collection. Using them in a consumer price index means classifying millions of products and processing huge files every month.
What changes
- Price indexes built from full transaction data, not samples of shelves.
- Millions of products classified automatically, with changes reviewed by experts.
- Monthly index runs completed in hours and reproducible exactly.
Your system, layer by layer
| Store | Retailer transaction files, product classifications and index results as files in S3, every month kept. |
|---|---|
| Index | Product, retailer, category and period indexes over years of transactions. |
| Process | Classification, product matching and index calculation pipelines on Fargate. |
| Interface | A classification review workspace, an index explorer, and a command line and Python library for price statisticians. |
| Operate | Diagnostics on every retailer feed, versioned methods and an audit trail for every index figure. |
The extended story
Billions of real prices every month
Supermarkets, department stores and online retailers record every sale: product, price, quantity and date. These transaction feeds hold billions of records each month, far more than any team of price collectors could ever gather. Using them in a consumer price index measures what people actually paid for what they actually bought, across the whole country. Transaction data also reveals what people substitute when prices rise, something traditional collection cannot see.
Feeds from many retailers
Each retailer delivers its data in its own format, product codes and timing. The system receives every file as an untouched original, checks it against the retailer's history and converts it to one consistent structure. A late, short or malformed file is flagged before it reaches the index, giving price statisticians time to follow it up. Retailers receive clear feedback when their files change, keeping the feeds healthy month after month.
Classifying millions of products
Each product must be placed in the right index category, and products change constantly as new lines arrive and old ones are discontinued. Automated classification uses descriptions, brands and previous decisions to assign categories, and experts review uncertain or high-impact cases in a browser queue. Every classification decision is recorded and reusable next month. Experts spend their time on the decisions that matter, not on routine classifications.
Index methods written as rules
Multilateral index methods, product matching, quality adjustment and outlier treatment are defined as versioned rules. The same rules run every month, and changes can be tested against years of history before they are adopted. Each published index records the method version that produced it, so it can be explained and reproduced on demand. Users can compare indexes calculated under different methods to understand their effect.
Monthly runs in hours
Processing billions of transactions with multilateral methods is heavy computation. The work is split by retailer and category across many containers on Fargate, and a full monthly run completes in hours. That leaves time inside the publication cycle to investigate unusual movements rather than waiting days for the numbers to arrive. Fast processing turns an overwhelming data volume into a routine monthly task.
Indexed by product, store and time
Transactions are stored as files in S3 and indexed by product, category, retailer, region and week. Analysts can pull the full price history of a single product or the movement of an entire category instantly. Years of transaction history stay available for research into new methods, substitution behaviour and the effect of discounts. Researchers can test new index methods across years of real transactions.
Investigating movements visually
Browser dashboards show index movements by category with drill-down to the products and retailers driving them. Charts reveal the effect of specials, new products and quality changes. When a figure looks surprising, analysts can see within minutes whether it reflects real price change, a data problem or a classification issue. Unusual movements are explained before publication, not after. Confidence in each release grows accordingly.
Commercial confidentiality protected
Retailer data is commercially sensitive. Each retailer's raw data is held separately, access is restricted by role, and published outputs never reveal an individual retailer's prices or sales. Agreements with data providers are recorded alongside their data, and every use is logged, building the trust that keeps the feeds coming. Retailers can see exactly how their data is protected and used.
Running alongside traditional collection
Transaction data is introduced category by category, run in parallel with existing price collection until results are understood. The system produces both measures side by side, making the comparison transparent to methodologists and users. Traditional collection can then focus on the categories where transaction data is not yet available. Users see exactly how the new measures compare with the old ones.
More accurate inflation, less burden
The result is a price index built from what people really pay, with far wider coverage and fewer collection costs. Methods can be improved and tested across years of history quickly. Users get inflation measures with better detail, and every published figure can be reproduced exactly from the data and method that produced it. Methodologists can adopt improvements quickly, with full evidence of their effect.