Skip to content

How are the TPMAs generated?

YiWen Hon edited this page Jul 29, 2026 · 26 revisions

This should include a map of all the different data layers and what gets cleaned/added at each stage from hes_apc > raw_data > default > inputs-data / model-data parquet files, with links to the specific files where the cleaning happens at each stage.

UDAL HES data to hes_apc tables

https://github.com/The-Strategy-Unit/hes_processing

hes_apc tables to raw_data tables

https://github.com/The-Strategy-Unit/nhp_data/tree/main/src/nhp/data/raw_data

raw_data tables to default tables

https://github.com/The-Strategy-Unit/nhp_data/tree/main/src/nhp/data/default

default tables to inputs data parquet files

https://github.com/The-Strategy-Unit/nhp_data/tree/main/src/nhp/data/inputs_data

default tables to model data parquet files

https://github.com/The-Strategy-Unit/nhp_data/tree/main/src/nhp/data/model_data

Clone this wiki locally