# School-count working files

These files produced the flight-school numbers in [`docs/PLAN.md`](../PLAN.md) section 3.

| File | What it is |
| --- | --- |
| `count.py` | Script that groups current SACAA ATO approvals by region and airfield |
| `rows.json` | Output of that script (Gauteng and Western Cape rows) |

**Source data:** `ato-data/ato-master-10nov.json` in the private repo `sdzrxwfxd2-cloud/go-around-database-12nov` (last checked 10 Nov 2026; 277 schools and 297 SACAA approvals nationally). The source JSON is not copied here.

**How to re-run:** copy the master JSON to `/tmp/ato.json`, then from this folder run `python3 count.py`. It writes `rows.json` in the current directory and prints the totals.

The script fills a small number of blank provinces from a fixed slug list (20 schools into Gauteng, 7 into the Western Cape) so the counts can be checked. That is a counting aid only; it is not a data fix in the master file.
