# skoly-kapacita: primary-school capacity and pupil forecast to 2030, by district

The Ministry of Education's (MŠVVaM SR) table of free capacity in primary schools (ZŠ) and the IVP + SAV
forecast of pupil numbers for 2025 and 2030 against 2022. 19 rows in `udaje`: okres Senec and the
comparison districts and district towns. Okres Senec has the highest forecast growth of all 72 districts
(+31.5 % pupils by 2030). It has 600 actually free places, 1,388 at most, and no free classroom that could be
used without rebuilding.

Built by `scripts/fetch_skoly_kapacita.py`. Source file downloaded 21 Sep 2026.

## Provenance

- File: `https://www.minedu.sk/data/att/e3e/28062.50d447.xlsx` (minedu.sk attachment 28062), sheets
  *Aktualne kapacity ZS* (148 rows) and *Prognoza kapacit* (72 rows). HTTP Last-Modified 24 Nov 2023; the
  file carries no publication date of its own. SHA-256 in `meta.sha256`.
- Reference dates: pupils per RIS on 15 Sep 2022; free capacity from a ministry questionnaire to schools
  (year not stated, probably 2022/23); forecast by the IVP + SAV model for 2025 and 2030.

## Granularity: read before comparing towns

The lowest level is district × (district town | outside the district town). There are no rows for single
schools or for towns that are not district towns: Šamorín, Stupava and Modra fall inside "outside the district
town" of Dunajská Streda, Malacky and Pezinok (`granularita`). Comparable town figures exist only for district
towns (Senec, Pezinok, Malacky, Dunajská Streda and the Bratislava districts).

## Files and fields

- `skoly-kapacita.json`: `meta` (file, URL, hash, sheets and columns), `overenie_uvadzanych_cisel` (eight figures
  quoted in earlier material checked against named cells, e.g. "okres Senec ~600 free places" confirmed at
  *Prognoza kapacit!E5*; "maximum capacity ~1,388" corrected: it is the maximum number of *free* places),
  `granularita`, `poradie_sr_2030` (Senec's rank and the top 10 by 2030 growth), `udaje` (the rows).
- `skoly-kapacita.csv`: the `udaje` rows.

| Field | Meaning |
|---|---|
| `uzemie`, `uroven`, `kraj`, `kod_okresu` | Territory, level (`okres`, `okresné mesto`, `okres mimo okresného mesta`, or `kraj` for the computed region row), region, district code |
| `ziaci_zs_2022` | ZŠ pupils, 15 Sep 2022 (RIS) |
| `volne_kapacity_skutocne`, `volne_kapacity_maximalne` | Free places in existing classes, actual and at the legal maximum class size |
| `volne_ucebne_bez_prestavby` | Free places in empty classrooms usable without rebuilding |
| `max_navysenie_ziakov_vs_2022` | Forecast maximum increase in pupils vs 2022 |
| `narast_2025_podiel`, `narast_2030_podiel` | Forecast growth in pupils by 2025 and by 2030 against 2022, as a share (0.3154 is +31.54 %): the ministry's columns *očakávaný nárast počtu žiakov ZŠ v 2025 (oproti 2022)* and *… v 2030 (oproti 2022)*. District rows only |
| `max_narast_do_2030_podiel` | The ministry's column *maximálny nárast do 2030 (v %)*, also a share although its name says %. It is never below the 2025 or the 2030 value, and for Malacky and Dunajská Streda it is above both, so it is not simply the larger of the two. District rows only |
| `narast_2025_pct`, `narast_2030_pct`, `max_narast_do_2030_pct` | The three shares above × 100, rounded to two decimals, in %. On the `kraj` row, which has no shares, the average of the four districts weighted by their 2022 pupils (`poznamka`) |
| `volne_miesta_1st`, `volne_miesta_2st`, `ziaci_1st_2022`, `ziaci_2st_2022`, `indikator_volnych_kapacit` | From the *Aktualne kapacity* sheet, where the row comes from it |
| `poznamka` | Note |
| `source_url` | The ministry's XLSX, the same for every row (`meta.url`) |
| `last_update` | Date the XLSX was downloaded (`meta.stiahnute`, 2026-09-21) |

`source_url` and `last_update` were added to every row on 15 Oct 2026 with the values above; no figure changed.

## Rebuild

```bash
python scripts/fetch_skoly_kapacita.py
```

## License

Published by Som Senec under the Creative Commons Attribution 4.0 International licence (CC BY 4.0): https://creativecommons.org/licenses/by/4.0/. You may use it for any purpose, commercial use included, if you credit "Som Senec, somsenec.sk". The source documents that each record links to keep their own terms.
