# mesto-miesta: town offices and institutions outside the town hall

6 units of the town of Senec that a resident visits at their own address: the town police, the culture centre,
the family centre, and town-hall departments housed elsewhere (social services, the school office, sport and
grants). The town hall at Mierové námestie 8 and its departments are in `uradne-hodiny`, with checked hours.

- Source: the units' pages on senec.sk, read from the WordPress API by `scripts/senec_content.py` into
  `data/senec.db`; built by `scripts/build_mesto_miesta.py`. `source_url` opens each page.
- `source_date` is the date senec.sk last changed the page; `last_update` the date the page was last read from
  senec.sk (until 15 Oct 2026 `last_update` held the page's date). Opening hours are as that page publishes them;
  check the page before a visit.
- One record per senec.sk page; `record_id` is `senec-` plus the page's post id, so a rebuild never moves it.

## Fields

| Field | Type | Meaning |
| --- | --- | --- |
| `record_id` | string | `senec-` plus the senec.sk post id. |
| `name` | string | The page title on senec.sk. |
| `category`, `category_label` | string | The places-map category and its Slovak label. |
| `address` | string or null | As senec.sk publishes it. |
| `opening_hours` | string or null | senec.sk's hours in OSM `opening_hours` syntax. |
| `website` | string or null | The unit's own website, when senec.sk gives one. |
| `lat`, `lon` | number | WGS84. |
| `geo_precision` | string | `adresa`: the address matched a Register adries point. `zdroj`: only the street matched, so the point is the one senec.sk publishes for the page. `ulica`: the median of the street's address points. |
| `street_id` | string or null | Register adries street. |
| `source_url` | string | The unit's page on senec.sk. |
| `source_date` | date | When senec.sk last changed the page. |
| `last_update` | date | When the page was last read from senec.sk (the `senec_content.py` run that harvested it). |

## Records

| `record_id` | Name | Category | Address | Precision |
| --- | --- | --- | --- | --- |
| `senec-94529` | Mestské kultúrne stredisko (MsKS) | `kultura` | Námestie 1. mája 2, 903 01 Senec | adresa |
| `senec-91740` | Mestská polícia | `mestska-policia` | Kalinčiakova 1511/19, Senec | adresa |
| `senec-94549` | Spoločný školský úrad | `mestsky-urad` | Lichnerova 61, Senec | zdroj |
| `senec-91705` | Útvar sociálnych služieb mesta | `mestsky-urad` | Pribinova 15, Senec 903 01 | zdroj |
| `senec-108932` | Útvar športu a dotácií mesta | `mestsky-urad` | Lichnerova 61, Senec | zdroj |
| `senec-87725` | Rodinné centrum Senecké slniečko | `rodinne-centrum` | Lichnerova 44, Senec | adresa |

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