ESG analytics is a hard data problem. The data comes from many different providers (emissions reports, governance disclosures, third-party ratings), in formats that change without warning, and it feeds analytics and regulatory reporting where trust matters.
At NatWest Group I was a senior engineer on the team delivering the ESG and climate data platform on Snowflake: 50+ internal and external sources and 1TB+ of data processed a month. Optimising PySpark and dbt batch processing cut batch times by 40%, and automated monitoring and quality controls reduced data quality incidents by 30%.
This post covers the approach, which applies to most platforms like this.
1. Layered, medallion-style design
The platform is built on Snowflake with Airflow for orchestration and dbt for transformation, organised in layers similar to a medallion architecture: raw data lands as received, is then cleaned and conformed, and is finally modelled into curated datasets for consumers. Keeping the layers separate means a problem in one source stays contained and can be traced.
2. Data contracts and quality gates
Trust is the product, so we built data contracts and quality gates around the pipelines. Its job is to make sure data is only used once it has earned it:
- Data contracts that describe what each source should look like.
- Data-quality checks applied as data moves between layers.
- Automated monitoring so problems are found by the platform before they reach consumers.
This is what brought data quality incidents down by 30%.
3. Enriching with third-party data
The value of an ESG lakehouse comes from combining sources. Alongside internal data we ingested many third-party datasets to enrich it. Every new source went through the same contracts and quality checks, so adding a provider was a repeatable process, not a one-off project.
4. Publishing data products
The end goal was not tables but products. The platform publishes climate data products (emissions, residential EPC certificates and others), each with a named steward, quality metrics and a contract, so downstream teams can use well-defined, quality-checked datasets without needing to understand the pipelines behind them.
5. Keeping batches fast
Typical wins on a platform like this are incremental dbt models that process only new and changed data, tuning the heavy PySpark steps, and checking Snowflake query behaviour. Together they gave the 40% reduction in batch times.
The same idea in retail analytics
Earlier at NatWest, in the Retail Data & Analytics Decisioning team, the job was similar in spirit: building enterprise batch pipelines and Snowflake data models for decisioning analytics, and taking part in the Teradata-to-Snowflake migration of data marts. Different domain, same principle: make the data safe to re-run and safe to trust.
Key takeaways
- Layer your data, so problems stay contained and traceable.
- Build quality in: contracts and checks as a framework, not an afterthought.
- Make new sources repeatable, so enrichment scales.
- Ship data products, not just tables.
- Design for the decision: the best platforms are judged by the choices they enable.