# zasadnutia: sittings of the Senec town council, their agenda items and resolutions

Every sitting of Mestské zastupiteľstvo Senec published with an agenda on www.senec.sk, from 18 September 2024
to 16 November 2026: 20 sittings, 412 agenda items, 414 resolutions, each resolution with its vote totals and
outcome as printed on the town's signed resolution PDF (or, where no PDF exists, in the minutes).

Files: `zasadnutia.json` (one record per sitting, newest first, items and resolutions nested),
`zasadnutia.csv` (one row per resolution, plus one row per agenda item without a resolution), this README.
Built by `scripts/build_zasadnutia.py`; built 14 Oct 2026, rebuilt 30 Oct 2026 with the sitting of 21 Oct 2026
and 29 Nov 2026 with the resolutions of the inaugural sitting of 16 Nov 2026.

## Two hard rules

1. Vote totals only. No councillor's individual vote, no party or club, anywhere in the data. The resolution
   PDFs print totals. The minutes "s hlasovaním" and the town's roll-call XML name people; from the minutes only
   the four or five numbers under a plain `Hlasovanie:` line are read, and the roll-call XML is not used.
2. No natural persons. Agenda titles often name private individuals (buyers, sellers, applicants, donors,
   landlords). Each such name, and a home address printed right after it, is replaced with
   `fyzická osoba – meno vynechané`; `title_masked` is `true` on those 82 items. Companies (s. r. o., a. s.,
   n. o., o. z. …, including companies named after a person such as "MUDr. František Jurča, s. r. o."),
   public bodies, schools and streets named after people stay as written. A person named in a public function
   (the town chronicler, 11 Dec 2024) becomes `(meno vynechané)`. Every private party is masked the same way,
   whatever public office they may hold, and the mayor and councillors are never named.
   Every title was reviewed by eye: the 82 changed titles, and the 126 unchanged titles that contain two
   adjacent capitalised words (all of them names of places, schools, bodies or documents). The unmasked titles
   exist only in the town's API; this dataset never stores them. A masked item has `item_url` null, because
   the address of its page on www.senec.sk spells out the names (21 Oct 2026); its resolutions keep their PDF.

## Sources

- www.senec.sk REST API (public, no key): `sessions` (one post per sitting) and `session_items` (one post per
  agenda item, linked by `council_session_id`). Sittings are the sessions titled "Mestské zastupiteľstvo …" or
  "Zasadnutie Mestského zastupiteľstva …"; committee minutes and the "Plnenie uznesení" reports are not
  sittings. The minutes of 11 Dec 2024 were posted as a separate session and are attached to that sitting.
- Resolution PDFs. The API files them inconsistently (`Bod-10-129-2026.pdf`, `bod10_uznesenie.pdf`,
  `11_2025.pdf`, `Uznesenie-MsZ-c.131-2024.pdf`, combined PDFs `Uznesenia_MsZ_20240918-1.pdf` and
  `Uznesenia_MsZ_20241211-1.pdf`; in the resolution, minutes or draft field, or linked to no item). The build
  reads every attachment of an item that could be a resolution, and every PDF in the WordPress media library
  uploaded in the weeks after a sitting whose name says "uznesenie" or follows `Bod-N-X-YYYY`. A document
  counts only if it carries a vote or a verdict; drafts (`Navrh-uznesenie-…`) carry neither and never count.
  Each PDF is split at `Uznesenie MsZ č. N/YYYY`; a block dated ("zo dňa …") to another sitting is dropped.
- Minutes (zápisnica), for resolutions missing from the PDFs (see Coverage).

Text is extracted with pypdfium2 (installed with pdfplumber), which keeps Slovak diacritics intact.

## Coverage

| Period | Sittings | In this dataset |
|---|---|---|
| 18 Sep 2024 – 16 Nov 2026 | 20, all with an agenda in the API | yes |
| 8 Jan – 14 Aug 2024 | 7 on www.senec.sk, with minutes but no agenda items in the API | **no** |
| 25 Nov 2022 (constituent sitting) – 12 Dec 2023 | 10, only on archiv.senec.sk | **no** |

The 17 earlier sittings are not in the dataset. Their agendas exist only in the minutes (three of the 2024 minutes
are scans without a text layer) and their resolutions in combined PDFs on archiv.senec.sk or inside the minutes.
`build_zasadnutia.py --earlier` builds them, but that part was not reviewed: the agenda parsed from the minutes
picks up page headers and lists of names (constituent sitting), and some titles name councillors and a sole
trader. It must be reviewed and masked by hand before it is published.

Within the 20 sittings:

- 304 resolutions come from single PDFs, 84 from the two combined PDFs (`source_url` ends in `#page=N`), and
  26 from the minutes: all 24 of 30 Jun 2025 (no resolution PDF was published for that sitting), 166/2024 of
  11 Dec 2024 (missing from the combined PDF) and 130/2026 of 21 Oct 2026 (no resolution PDF found). Their
  `source_url` is the minutes PDF with `#page=N`.
- Agenda items with no resolution (9):
  - 18 Sep 2024, item 14 (Zmena Zásad hospodárenia): proposed for withdrawal at the sitting (minutes); no resolution.
  - 29 Oct 2024, item 8 (VZN on market places): withdrawn, as the town's item page says.
  - 16 Apr 2025, item 15 (part of a family house, Šafárikova): no final resolution published, only the draft.
  - 10 Dec 2025, items 17 and 31: only drafts published.
  - 4 Mar 2026, item 9 (Zmena Zásad hospodárenia): uznesenie 14/2026 was never published; the file
    `Bod-9-14-2026.pdf` holds the text of 15/2026 (see land-disposals README, 21 Sep 2026).
  - 15 Apr 2026, item 2: the heading of the subsidy items 2A to 2H, which carry the resolutions.
  - 6 May 2026, items 16A and 16B (rent increase): only drafts published.
- Three resolutions have no agenda item in the API and form an item of their own, `item_url` null, titled with
  the subject as the resolution states it: 110/2024 (Senecké leto, added to the programme at the sitting),
  31/2025 (item 18 of 16 Apr 2025, not published in the API; `seq` "18" from the PDF name) and 70/2025 (a
  petition, added at the sitting of 30 Jun 2025).
- Videos: `video_url` is null where the town gives none, and for 16 Sep 2026, where it links only to its
  YouTube channel's list of streams. `minutes_url` is null for 14 May 2025 and 4 Mar 2026, and for 16 Nov 2026
  until the town publishes its minutes.

## How resolutions were matched to agenda items

1. A resolution stays with the item the API links its PDF to, unless the resolution's text clearly belongs to
   another item. "Clearly" is measured on the words of the item title found in the resolution, weighted by how
   rare they are among the sitting's titles and resolutions (boilerplate such as the citation of the Zásady
   hospodárenia is ignored).
2. A resolution whose PDF is linked to no item (combined PDFs, media library, minutes) goes to the item it
   matches unmistakably, or else is aligned in programme order with the items around it.
3. `MATCH_OVERRIDES` in the script pins 42 resolutions checked by hand in the PDF or the minutes, among them:
   - 4 Mar 2026: the API attaches the PDFs of items 10–17 to the neighbouring item; 15/2026 belongs to item 17,
     16 and 17/2026 to item 10 (DOAS), 18/2026 to item 11, and so on (buyer, seller or parcel in each PDF).
   - 19 Nov 2025: `bod-6_129-2025.pdf` is the chief controller's opinion (item 7) and `bod-7_130-2025.pdf` the
     Environmentálny fond loan (item 6).
   - 30 Jun 2025: the minutes moved the waste VZN to the front and renumbered the programme; each resolution is
     matched by the minutes' own heading.
   - 18 Sep and 11 Dec 2024 (combined PDFs): 104/2024, 114/2024, 121/2024, 144/2024, 145/2024.

Every assignment was reviewed by eye in a dump of item title against resolution text. As an independent check,
the item of every resolution that is also in `land-disposals` (186) agrees with that dataset's `item_key`, except
31/2025, whose API item is unpublished. The nine resolutions of 4 Mar 2026 that `land-disposals` held on the API's
off-by-one item now have the items pinned here (9 Nov 2026), and `seq` agrees with the `agenda_seq` of
`land-disposals` and `adopted_resolutions` on every resolution they share with it (9 Nov 2026).

## Cross-check with land-disposals and adopted_resolutions

Vote totals and outcome were compared for every resolution number present in both datasets: 134 of
`adopted_resolutions` and 162 of `land-disposals` (adopted rows). All agree. 14/2026 is in `land-disposals` and,
since 15 Oct 2026, in `adopted_resolutions` with null votes; it is not here because its text was never published.

## Points to know

- 84/2026 (24 Jun 2026): the town uploaded the PDF three times, each dated 26. 6. 2026. The upload of 29 Jun
  (`2026/06/Bod-20-84-2026.pdf`) says 16–0–0, "Uvedený materiál bol schválený"; two identical uploads of 9 Jul
  (`2026/07/Bod-20-84-2026.pdf` and `-1.pdf`, the latter linked from the item) say 0–16–0, "nebol schválený".
  The minutes, uploaded 29 Jul 2026, print 16–0–0 and "bol schválený" (p. 23). Where copies of a resolution
  disagree, the dataset takes the most recent upload (decided 14 Oct 2026; `newest_first()` in the script), here
  `-1.pdf`, as `adopted_resolutions` does. Upload dates are the files' Last-Modified headers, read 14 Oct 2026.
  It is the only resolution whose copies disagree.
- 164/2024 (11 Dec 2024): the PDF (p. 23) and the minutes (p. 23) both print 16–0–0 and "Uvedený návrh
  nebol schválený". `adopted` follows the verdict (`false`); the totals are as printed.
- The site shows a visible note on both resolutions, linking every document named here.
- 128/2026 (30 Sep 2026, prosecutor's warning): the verdict is "S uvedeným materiálom boli poslanci
  oboznámení"; `adopted` is null.
- 16 Nov 2026 (the inaugural sitting): besides "schválený" and "vzatý na vedomie", the resolutions print
  "Uznesenie bolo prijaté", "Komisia bola zriadená" and "Mestská rada bola zriadená"; `adopted` is `true` and
  `verdict_kind` `adopted` for these (29 Nov 2026). 134/2026 prints "Uvedená správa bol vzatá na vedomie", kept
  as printed.
- `vote_not_voting` is printed for 9 resolutions only; elsewhere it is null, never 0.
- The town's own agenda numbers can differ from the programme approved at the sitting (18 Sep 2024: two items
  dropped and one added). `seq` is the number the town gives the item in the API: the one printed at the head of
its title, not the API's own sequence number, which counts an item's variants (7A, 7B) as two items. Where the
sitting took items in another order (30 Jun 2025; 4 Mar 2026, whose resolution files are named by that order),
`seq` keeps the printed number.

## Fields

`zasadnutia.json`, per sitting:

| Field | Meaning |
|---|---|
| `slug` | The sitting date, `YYYY-MM-DD`; a second sitting on the same date would get `-2`. Stable across rebuilds. |
| `date` | Date of the sitting (ISO). |
| `title` | The sitting's title as the town gives it. |
| `source_url` | The sitting's page on www.senec.sk. |
| `video_url` | Video of the sitting, or null. |
| `minutes_url` | The minutes (zápisnica) PDF, or null. |
| `agenda_url` | The invitation with the programme (pozvánka) PDF, or null. |
| `items` | Agenda items in agenda order (below). |
| `n_items`, `n_resolutions` | Counts. |
| `last_update` | The day this sitting's record last changed: kept from build to build while it is the same (since 22 Oct 2026). |

Per item: `seq` (agenda number as the town publishes it, without the trailing dot: "10", "14B", "23b", "7A"; null
if none), `title` (masked, without the leading number), `title_masked` (true if a name was removed),
`item_url` (the item's page on www.senec.sk; null for an item rebuilt from a resolution and for a masked item),
`resolutions` (below).

Per resolution:

| Field | Meaning |
|---|---|
| `resolution_no` | `N/YYYY` as printed. |
| `adopted` | `true` for "schválený" or "zobratý/zobraný na vedomie" (and "poslanci zobrali na vedomie"), `false` for "nebol schválený" or "neprešiel hlasovaním", null otherwise. |
| `verdict` | The verdict sentence verbatim, or null if none is printed. |
| `verdict_kind` | The verdict as a code, read from `verdict` (added 15 Oct 2026): `adopted`, `adopted_with_comments` („schválený s pripomienkou“), `rejected` („nebol schválený“) or `noted` (taken note of, including „boli poslanci oboznámení“). The 24 wordings of the printed verdicts map to these four. Null where `verdict` is null. |
| `vote_for`, `vote_against`, `vote_abstain`, `vote_not_voting`, `vote_absent` | Totals as printed (za, proti, zdržal sa, nehlasoval, neprítomní). Null where not printed. |
| `source_url` | The resolution PDF (with `#page=N` when the file holds several resolutions), or the minutes. |

`zasadnutia.csv`: `meeting_slug, date, seq, title, title_masked, item_url, resolution_no, adopted, verdict,
verdict_kind, vote_for, vote_against, vote_abstain, vote_not_voting, vote_absent, source_url, last_update`. One row per
resolution; an item with no resolution has one row with empty resolution fields and `source_url` = its item
page. UTF-8 without BOM; booleans as `True`/`False`, like the other datasets.

## Rebuild

    .venv/bin/python -I senec_council.py --db data/senec.db    # optional; the script reads the API itself
    .venv/bin/python -I scripts/build_zasadnutia.py --review /tmp/zasadnutia-review

About 80 requests to www.senec.sk (at most 2 a second) plus downloads of new PDFs into `pdfs/`. `--review`
writes the masking lists (`titles_changed.tsv`, `titles_unchanged_adjacent_caps.tsv`), the matching notes
and a full item/resolution dump; review them after every rebuild, and add new hand decisions to
`MATCH_OVERRIDES` / `TITLE_OVERRIDES`. Update the counts in this README by hand.

## 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.
