{"id":"5e90b413-b2d2-46c2-a7ea-e0a9f6094c05","type":"DATASET","name":"System Kodowania Jednostek Terytorialnych i Statystycznych (KTS) — GUS","slug":"coding-system-for-territorial-and-statistical-units-kts-statistics-poland","description":"The Coding System for Territorial and Statistical Units (KTS) is a uniform list of codes and names of units concerning basic three-level territorial division of the country and territorial units adopted for statistical purposes (NUTS classification). The KTS system has been adopted for the needs of databases and information systems of official statistics. The KTS system was introduced by the Internal Order No. 22 of the President of Statistics Poland of 24 August 2017 on the introduction of the Coding System for Territorial and Statistical Units. KTS replaces, for the needs of official statistics, the Nomenclature of Territorial Units for Statistical Purposes (NTS), abolished on 1 January 2018. The KTS system was prepared on the basis of the National Official Register of the Territorial Division of the Country (TERYT) and Classification of Territorial Units for Statistics (NUTS) used in the European Union countries. The KTS system divides Poland into territorial and hierarchically related units at seven levels. Each of the lower level units is included only in one higher level unit. However, one territorial unit may represent several levels of KTS. The territorial levels of the KTS system include: KTS 0 level – Poland KTS 1 level – Macroregions (NUTS 1 units) KTS 2 level – Voivodships KTS 3 level – Regions (NUTS 2 units) KTS 4 level – Subregions (NUTS 3 units) KTS 5 level – Powiats (including cities with powiat status – as in the TERYT Register) KTS 6 level – Gminas (including urban parts of urban-rural gminas, rural parts of urban-rural gminas, districts of Warsaw, representations of Kraków, Łódź, Poznań and Wrocław – as in th.","free_access_class":"FREE_NO_AUTH","auth_type":"NONE","homepage_url":null,"docs_url":null,"repo_url":"https://dane.gov.pl/pl/dataset/1424/resource/63862","status":"ACTIVE","verification_state":"VERIFIED","tags":["boundaries"],"logo_url":"https://www.google.com/s2/favicons?sz=64&domain=dane.gov.pl","primary_source_url":"https://dane.gov.pl/pl/dataset/1424/resource/63862","extraction_confidence":"0.30","created_at":"2026-07-04T11:42:17.384Z","updated_at":"2026-12-01T06:49:10.342Z","last_verified_at":"2026-12-01T06:49:10.342Z","deprecated_at":null,"ranking_score":54,"last_ranked_at":"2026-11-22T16:28:11.108Z","last_seen_at":null,"last_validated_at":null,"last_uptime_at":"2026-11-28T19:33:14.966Z","popularity_score":"0.0000","maintenance_score":"0.6000","institution_id":"2b3815fc-d28d-444c-b8f1-906ef8cff848","institution_type":"STATISTICS_OFFICE","country_code":"PL","official_confidence":null,"proof_summary":null,"source_seed_url":null,"is_public_sector":true,"published_at":"2026-07-04T13:24:15.030Z","geographic_scope":"NATIONAL","name_en":"Coding System for Territorial and Statistical Units (KTS) — Statistics Poland","description_en":"A dataset from Statistics Poland (GUS) providing the Coding System for Territorial and Statistical Units (KTS), a uniform register of codes and names covering Poland's three-level administrative division and NUTS statistical units. Introduced in 2017, KTS replaced the earlier NTS nomenclature for official statistics and is built on the national TERYT register combined with the EU's NUTS classification. It organizes Poland into seven hierarchical levels, from the whole country down to macroregions, voivodships, regions, subregions, powiats, and gminas, with each lower-level unit nested within exactly one higher-level unit, supporting statistical databases and information systems.","native_lang":"pl","access_level":"direct","formats":["HTML"],"capability_tier":"download","trust_score":43.269230769230774,"merged_into_entry_id":null,"identity_key":"DATASET|https://dane.gov.pl/pl/dataset/1424/resource/63862|system kodowania jednostek terytorialnych i statystycznych (kts) — gus","upstream_ref":null,"content_changed_at":"2026-10-29T21:05:22.653Z","upstream_gone_checks":0,"upstream_gone_since":null,"description_en_local_failures":0,"institution":{"attribution":"harvested_publisher","id":"2b3815fc-d28d-444c-b8f1-906ef8cff848","name":"GUS Poland","short_name":"GUS","country_code":"PL","region_scope":"NATIONAL","institution_type":"STATISTICS_OFFICE","official_domains":["stat.gov.pl"],"official_portal_urls":["https://stat.gov.pl"],"official_github_orgs":[]},"title_qualifier":null,"access":{"level":"direct","primary":{"kind":"download","label":"Download HTML","method":"GET","url":"https://api.dane.gov.pl/catalog","format":"HTML","source":"distribution","runnable":false,"not_runnable_reason":"Last probe answered HTTP 200 with an HTML page (text/html; charset=utf-8), not the file"},"actions":[{"kind":"download","label":"Download HTML","method":"GET","url":"https://api.dane.gov.pl/catalog","format":"HTML","source":"distribution","runnable":false,"not_runnable_reason":"Last probe answered HTTP 200 with an HTML page (text/html; charset=utf-8), not the file"},{"kind":"query","label":"Run verified request","method":"GET","url":"https://dane.gov.pl/pl/dataset/1424/resource/63862","source":"probe","runnable":true},{"kind":"landing","label":"Open source page","method":"GET","url":"https://dane.gov.pl/pl/dataset/1424,system-kodowania-jednostek-terytorialnych-i-statystycznych-kts","source":"landing_page","runnable":false}],"formats":["HTML"]},"maturity":{"entry_id":"5e90b413-b2d2-46c2-a7ea-e0a9f6094c05","granularity":"entry","granularity_label":"One unit = one catalog entry. A PROXY for the SCOPE.md §4 ladder, which governs source families, not entries: a family with 400 entries moves this reading 400 times as much as a family with one. Never compare or combine with the source_family reading.","level":"verified","level_index":2,"level_label":"Verified","meaning":"Access tested successfully","counts_as_coverage":false,"blocked_by":null,"rungs":[{"level":"discovered","level_index":1,"label":"Discovered","meaning":"Source and metadata recorded","evidence":"membership of the named population the ladder is taken over","counts_as_coverage":false,"met":true,"reached":true,"criterion":"TRUE"},{"level":"verified","level_index":2,"label":"Verified","meaning":"Access tested successfully","evidence":"entries.verification_state = 'VERIFIED'","counts_as_coverage":false,"met":true,"reached":true,"criterion":"entries.verification_state = 'VERIFIED'"},{"level":"profiled","level_index":3,"label":"Profiled","meaning":"Schema, dimensions and licence understood","evidence":"a data profile with at least one field (entry_data_profiles.field_count > 0)","counts_as_coverage":false,"met":false,"reached":false,"criterion":"EXISTS (SELECT 1 FROM entry_data_profiles p WHERE p.entry_id = entries.id AND COALESCE(p.field_count, 0) > 0)"},{"level":"executable","level_index":4,"label":"Executable","meaning":"Queries run through Commodity","evidence":"entries.capability_tier = 'live' — today's proxy for \"queryable through us\"","counts_as_coverage":true,"met":false,"reached":false,"criterion":"entries.capability_tier = 'live'"},{"level":"joinable","level_index":5,"label":"Joinable","meaning":"Canonical identifiers and concepts mapped","evidence":"a field link to a canonical identifier whose sampled VALUES match its format, on a field the current profile still has (entry_data_profiles.fields names it, field_count > 0)","counts_as_coverage":true,"met":false,"reached":false,"criterion":"EXISTS (SELECT 1 FROM entry_field_links efl JOIN entry_data_profiles jp ON jp.entry_id = efl.entry_id WHERE efl.entry_id = entries.id AND efl.identifier_id IS NOT NULL AND efl.value_status = 'match' AND COALESCE(jp.field_count, 0) > 0 AND COALESCE(jp.fields @> jsonb_build_array(jsonb_build_object('name', efl.field_name)), false))"},{"level":"reproducible","level_index":6,"label":"Reproducible","meaning":"Snapshots and transformation evidence retained","evidence":"at least one retained evidence manifest (migration 078) that names at least one column, every one of them a field of the current profile — except, on a grouped citation, the computed columns 'count' and '<fn>_<field>'","counts_as_coverage":true,"met":false,"reached":false,"criterion":"EXISTS (SELECT 1 FROM evidence_manifests em JOIN entry_data_profiles rp ON rp.entry_id = em.entry_id WHERE em.entry_id = entries.id AND COALESCE(rp.field_count, 0) > 0 AND jsonb_array_length(em.columns) > 0 AND (CASE WHEN em.query_params ? 'aggregate' THEN em.columns - 'count' - (COALESCE(em.query_params->'aggregate'->>'fn', '') || '_' || COALESCE(em.query_params->'aggregate'->>'field', '')) ELSE em.columns END) <@ COALESCE((SELECT jsonb_agg(f->'name') FROM jsonb_array_elements(CASE WHEN jsonb_typeof(rp.fields) = 'array' THEN rp.fields END) f), '[]'::jsonb))"},{"level":"guaranteed","level_index":7,"label":"Guaranteed","meaning":"Monitored against an operational reliability target","evidence":"an active reliability target with a named monitor (migration 096)","counts_as_coverage":true,"met":false,"reached":false,"criterion":"EXISTS (SELECT 1 FROM entry_reliability_targets rt WHERE rt.entry_id = entries.id AND rt.is_active = true)"}],"officialness":{"basis":"catalog_inherited","label":"Inherited from the upstream catalog: this item came from a trusted official government catalog, and that provenance — not per-item proof — is the warrant. Its own proof score is below 80 or it matched no registered institution (apps/worker/src/connectors/catalog/qualify-store.ts).","proof_confidence":null,"proven_threshold":80,"institution_id":"2b3815fc-d28d-444c-b8f1-906ef8cff848","definition":"CASE WHEN COALESCE(entries.is_public_sector, false) IS NOT TRUE THEN 'not_official' WHEN COALESCE(entries.official_confidence, 0) >= 80 AND entries.institution_id IS NOT NULL THEN CASE WHEN EXISTS (SELECT 1 FROM api_candidates oc WHERE oc.merged_into_entry_id = entries.id AND oc.official_confidence >= 80 AND oc.proposed_institution_id IS NOT NULL) THEN 'per_item_proven' ELSE 'integrator_asserted' END ELSE 'catalog_inherited' END"},"source_family":{"key":"dane.gov.pl","label":"One unit = one source family, approximated by the serving host of the entry's primary source URL (e.g. bdl.stat.gov.pl). A COMPUTED stand-in for the curated families of SCOPE.md §5, which no table holds yet. A family sits at the highest level any of its entries has reached, because a family is integrated to the depth of its deepest working integration. Never compare or combine with the entry reading."},"generated_at":"2026-12-01T07:57:19.470Z"},"update_schedule":{"last_update":"2025-01-23T09:44:58.397Z","declared_frequency":null,"next_update":null,"next_update_basis":null,"next_update_source_url":null,"predicted":false,"next_update_tentative":false,"confidence":null,"overdue":false,"overdue_since":null,"method":"No declared frequency, no announced release, and too few observed changes to predict one."},"legal_basis":{"source":"data.europa.eu High-Value Dataset records (dcatap:applicableLegislation), matched to this entry by URL","legislation":[],"statements":[],"record_publishers":[],"harvested_at":null},"distribution_role":null,"publisher_organisation":null,"api_details":null,"dataset_details":{"id":"bc4324ed-2f5d-461d-8206-2506f51e8301","entry_id":"5e90b413-b2d2-46c2-a7ea-e0a9f6094c05","upstream_issued":"2019-01-30T17:08:51.201Z","upstream_modified":"2025-01-23T09:44:58.397Z","themes":["REGI"],"update_frequency":null,"temporal_start":null,"temporal_end":null,"spatial_coverage":null,"landing_page":"https://dane.gov.pl/pl/dataset/1424,system-kodowania-jednostek-terytorialnych-i-statystycznych-kts","license_id":null,"license_raw":null,"has_documentation":true,"has_data_dictionary":false,"has_versioning":false,"source_portal":null,"source_portal_url":null,"created_at":"2026-07-04T11:42:17.519Z","updated_at":"2026-07-09T07:44:13.025Z","publisher":"Główny Urząd Statystyczny","publisher_url":null,"record_origin":null,"record_source_catalogue":null,"record_source_url":null,"publisher_register_scheme":null,"publisher_register_id":null,"distributions":[{"id":"7dc00696-6cb7-46f7-bf29-ca09a31ce8c1","dataset_details_id":"bc4324ed-2f5d-461d-8206-2506f51e8301","title":"The Coding System for Territorial and Statistical Units (KTS)","description":null,"access_url":"https://dane.gov.pl/pl/dataset/1424/resource/63862","download_url":"https://api.dane.gov.pl/catalog","media_type":null,"format":"HTML","byte_size":null,"license_id":null,"license_raw":null,"last_checked_at":"2026-12-01T06:49:09.374Z","is_available":true,"last_http_status":200,"created_at":"2026-07-04T11:42:17.785Z","updated_at":"2026-12-01T06:49:09.374Z","last_content_type":"text/html; charset=utf-8"}],"license":null},"license":null,"reuse":{"license_id":null,"license_name":null,"license_url":null,"commercial_use":{"status":"unknown","value":null},"redistribution":{"status":"unknown","value":null},"attribution_required":{"status":"unknown","value":null},"share_alike":{"status":"unknown","value":null},"personal_data_warning":{"status":"unknown","value":null},"cache_and_mirror":{"status":"unknown","value":null},"derivatives":{"status":"unknown","value":null},"undetermined":["commercial_use","redistribution","attribution_required","share_alike","personal_data_warning","cache_and_mirror","derivatives"],"basis":"unverified","confidence":0.1,"confidence_tier":"low","source_text":null,"source_url":null,"reviewed_at":null},"license_raw":null,"licence":{"licence_id":null,"status":"none_stated","basis":"no_licence_recorded","terms":[],"redistribution":"unknown","commercial":"unknown","licence_url":null,"licence_raw":null,"source_url":null,"notice":"licence: none stated — redistribution: not stated; commercial reuse: not stated"},"latest_check":{"id":"1add1d82-5d11-413a-b1bc-9db609dc6a79","entry_id":"5e90b413-b2d2-46c2-a7ea-e0a9f6094c05","status":"VERIFIED","last_checked_at":"2026-12-01T06:49:10.166Z","p50_latency_ms":2021,"p95_latency_ms":null,"last_error":null,"consecutive_failures":0,"created_at":"2026-07-04T11:44:18.088Z","updated_at":"2026-12-01T06:49:10.166Z","consecutive_successes":552,"probe_url":"https://dane.gov.pl/pl/dataset/1424/resource/63862","probe_method":"GET","probe_http_status":200,"probe_content_type":"text/html; charset=utf-8","probe_succeeded_at":"2026-12-01T06:49:10.166Z"},"data_profile":{"id":"0215212b-44f5-4d15-8f32-a46bc19dd07b","entry_id":"5e90b413-b2d2-46c2-a7ea-e0a9f6094c05","profile_source":"none","profile_kind":"dataset","dataset_id":null,"fields":null,"field_count":null,"sample_records":null,"record_count":null,"data_size_bytes":null,"dataset_count":null,"query_examples":null,"status":"unsupported","error_message":"No introspectable source detected (primary URL sniffed: not machine-readable data)","profiled_at":"2026-11-30T07:50:02.556Z","run_id":"90bc15b3-559e-4278-97ec-921dd90f4de8","created_at":"2026-07-20T12:59:57.373Z","updated_at":"2026-11-30T07:50:02.720Z","license_raw":null,"license_id":null,"consecutive_failure_count":0,"last_error_at":null,"last_error_message":null,"fields_with_example_values":0,"example_values_counted_at":"2026-11-30T07:50:02.556Z","ods_features":null,"previewable":false,"declared_periods":null,"declared_areas":null,"declared_population":null,"personal_data":{"status":"none","basis":"no_person_column_cited","grain":"none","allowed":true,"columns":{"direct_identifiers":[],"family_names":[],"given_names":[],"attributes":[],"unresolved_names":[],"measures":[],"entity_identifiers":[]},"publication":null,"publication_evidence":null,"notice":"personal data: no cited column names a natural person (the cited columns are all this reads)"}},"datasets":[],"limits":[],"manifest":{"answer_sha256":"37264787cdd4f88b09505bc09b673e503dbe256bc2338f4a6a66c873857dd69d","answer_sha256_rule":"sha256 (hex, UTF-8) of JSON.stringify(this body) after deleting the keys listed in manifest.stamped_keys from manifest, and deleting manifest itself if it is then empty. The hash was computed before the stamp existed, so no field of the stamp is inside it.","stamped_keys":["answer_sha256","answer_sha256_rule","stamped_keys","row_count","row_count_basis","live","live_basis","created_at","created_at_basis","durable_citation"],"row_count":11,"row_count_basis":"Objects that are elements of a JSON array anywhere in this body, excluding manifest. Not a claim about which collection is the answer. Largest single collection: maturity.rungs[] (7 rows).","live":true,"live_basis":"This body was produced by executing the request.","created_at":"2026-12-01T07:57:19.509Z","created_at_basis":"When this response body was assembled, deliberately OUTSIDE the hashed bytes so the same answer hashes identically on every request. Not the upstream read time — that is provenance[].retrieved_at. A zone-cached replay carries the assembly time, not your receipt time.","durable_citation":"This manifest is produced at response time and is NOT stored. A durable, replayable citation is persisted only on an explicit cite: GET /api/v1/entries/{id-or-slug}/evidence or the MCP cite_query tool for one entry, and POST /api/v1/answer/cite for a domain answer, which stores this same answer_sha256 with the sources the answer consulted."}}