{"id":"66949f04-dc8c-4aa1-a93e-d8d635733b97","type":"DATASET","name":"General subdirections of the institutional public sector","slug":"general-subdirections-of-the-institutional-public-sector","description":"Llistat d’unitats amb rang de subdireccions generals en què s’organitzen les entitats del sector públic institucional. De les entitats del sector públic institucional només s'inclouen les següents: Entitats autònomes administratives / Entitats autònomes comercials, industrials o financeres / Entitats de dret públic de naturalesa singular / Entitats de dret públic sotmeses a l’ordenament jurídic privat.","free_access_class":"FREE_NO_AUTH","auth_type":"NONE","homepage_url":null,"docs_url":null,"repo_url":"https://analisi.transparenciacatalunya.cat/api/views/6rbu-cawt/rows.csv?accessType=DOWNLOAD","status":"ACTIVE","verification_state":"VERIFIED","tags":["government","procurement"],"logo_url":"https://www.google.com/s2/favicons?sz=64&domain=analisi.transparenciacatalunya.cat","primary_source_url":"https://analisi.transparenciacatalunya.cat/api/views/6rbu-cawt/rows.csv?accessType=DOWNLOAD","extraction_confidence":"0.16","created_at":"2026-06-18T02:13:20.422Z","updated_at":"2026-11-23T20:01:15.012Z","last_verified_at":"2026-11-23T20:01:15.012Z","deprecated_at":null,"ranking_score":57,"last_ranked_at":"2026-11-09T06:47:12.814Z","last_seen_at":null,"last_validated_at":null,"last_uptime_at":"2026-11-20T19:02:23.456Z","popularity_score":"0.0000","maintenance_score":"0.6000","institution_id":"9c3853e1-1cb2-4639-a984-41545b823787","institution_type":"REGION","country_code":"ES","official_confidence":null,"proof_summary":null,"source_seed_url":null,"is_public_sector":true,"published_at":"2026-06-18T02:13:20.422Z","geographic_scope":"LOCAL","name_en":"General subdirections of the institutional public sector","description_en":"This dataset lists organizational units holding the rank of general subdirection within entities of the institutional public sector, published by the Generalitat de Catalunya. It covers only specific entity types: autonomous administrative entities, autonomous commercial, industrial or financial entities, public-law entities of a singular nature, and public-law entities subject to private law. It provides a structured view of the internal organizational hierarchy of these public bodies, useful for understanding administrative structure and governance within Catalonia's institutional public sector.","native_lang":"ca","access_level":"direct","formats":["CSV","JSON","XML"],"capability_tier":"live","trust_score":54.519230769230774,"merged_into_entry_id":null,"identity_key":"DATASET|https://analisi.transparenciacatalunya.cat/api/views/6rbu-cawt/rows.csv?accessType=DOWNLOAD|general subdirections of the institutional public sector","upstream_ref":null,"content_changed_at":"2026-10-28T06:17:29.804Z","upstream_gone_checks":0,"upstream_gone_since":null,"institution":{"attribution":"harvested_publisher","id":"9c3853e1-1cb2-4639-a984-41545b823787","name":"Generalitat de Catalunya","short_name":"Catalunya","country_code":"ES","region_scope":"REGIONAL","institution_type":"REGION","official_domains":["transparenciacatalunya.cat","gencat.cat"],"official_portal_urls":[],"official_github_orgs":[]},"title_qualifier":"rows.csv","access":{"level":"direct","primary":{"kind":"download","label":"Download CSV","method":"GET","url":"https://analisi.transparenciacatalunya.cat/api/views/6rbu-cawt/rows.csv?accessType=DOWNLOAD","format":"CSV","source":"distribution","runnable":true},"actions":[{"kind":"download","label":"Download CSV","method":"GET","url":"https://analisi.transparenciacatalunya.cat/api/views/6rbu-cawt/rows.csv?accessType=DOWNLOAD","format":"CSV","source":"distribution","runnable":true},{"kind":"download","label":"Download XML","method":"GET","url":"https://analisi.transparenciacatalunya.cat/api/views/6rbu-cawt/rows.xml?accessType=DOWNLOAD","format":"XML","source":"distribution","runnable":true},{"kind":"download","label":"Download JSON","method":"GET","url":"https://analisi.transparenciacatalunya.cat/api/views/6rbu-cawt/rows.json?accessType=DOWNLOAD","format":"JSON","source":"distribution","runnable":true},{"kind":"query","label":"Query rows (SODA)","method":"GET","url":"https://analisi.transparenciacatalunya.cat/resource/6rbu-cawt.json","source":"query_example","runnable":true,"direct":true}],"formats":["CSV","JSON","XML"]},"maturity":{"entry_id":"66949f04-dc8c-4aa1-a93e-d8d635733b97","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":"executable","level_index":4,"level_label":"Executable","meaning":"Queries run through Commodity","counts_as_coverage":true,"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":true,"reached":true,"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":true,"reached":true,"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":"9c3853e1-1cb2-4639-a984-41545b823787","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":"analisi.transparenciacatalunya.cat","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-11-23T22:50:12.298Z"},"update_schedule":{"last_update":"2026-07-03T07:32:16.000Z","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":"0ec09734-aa04-415e-84c1-19dba4e0d9c8","entry_id":"66949f04-dc8c-4aa1-a93e-d8d635733b97","upstream_issued":"2024-09-18T22:00:00.000Z","upstream_modified":"2026-07-03T07:32:16.000Z","themes":["GOVE"],"update_frequency":null,"temporal_start":null,"temporal_end":null,"spatial_coverage":null,"landing_page":null,"license_id":"cat-open-information-licence","license_raw":"https://administraciodigital.gencat.cat/ca/dades/dades-obertes/informacio-practica/llicencies/","has_documentation":false,"has_data_dictionary":false,"has_versioning":false,"source_portal":"socrata","source_portal_url":"https://analisi.transparenciacatalunya.cat","created_at":"2026-06-18T02:13:20.589Z","updated_at":"2026-11-20T08:39:03.467Z","publisher":"Generalitat de Catalunya","publisher_url":null,"record_origin":null,"record_source_catalogue":null,"record_source_url":null,"publisher_register_scheme":null,"publisher_register_id":null,"distributions":[{"id":"3eda0a18-bc50-43d8-8d7e-1eb68bf75c62","dataset_details_id":"0ec09734-aa04-415e-84c1-19dba4e0d9c8","title":"General subdirections of the institutional public sector","description":null,"access_url":"https://analisi.transparenciacatalunya.cat/api/views/6rbu-cawt/rows.csv?accessType=DOWNLOAD","download_url":null,"media_type":null,"format":null,"byte_size":null,"license_id":"cat-open-information-licence","license_raw":"https://administraciodigital.gencat.cat/ca/dades/dades-obertes/informacio-practica/llicencies/","last_checked_at":"2026-11-23T20:01:13.764Z","is_available":true,"last_http_status":200,"created_at":"2026-06-18T02:13:20.919Z","updated_at":"2026-11-23T20:01:13.764Z"},{"id":"ab633330-7c51-445d-8797-0d64f5270fa6","dataset_details_id":"0ec09734-aa04-415e-84c1-19dba4e0d9c8","title":"General subdirections of the institutional public sector","description":null,"access_url":"https://analisi.transparenciacatalunya.cat/api/views/6rbu-cawt/rows.xml?accessType=DOWNLOAD","download_url":null,"media_type":null,"format":null,"byte_size":null,"license_id":"cat-open-information-licence","license_raw":"https://administraciodigital.gencat.cat/ca/dades/dades-obertes/informacio-practica/llicencies/","last_checked_at":"2026-11-23T13:31:20.794Z","is_available":true,"last_http_status":200,"created_at":"2026-06-18T02:13:21.079Z","updated_at":"2026-11-23T13:31:20.794Z"},{"id":"670f21bc-dc86-4d36-b529-71bbbb03032d","dataset_details_id":"0ec09734-aa04-415e-84c1-19dba4e0d9c8","title":"General subdirections of the institutional public sector","description":null,"access_url":"https://analisi.transparenciacatalunya.cat/api/views/6rbu-cawt/rows.rdf?accessType=DOWNLOAD","download_url":null,"media_type":null,"format":null,"byte_size":null,"license_id":"cat-open-information-licence","license_raw":"https://administraciodigital.gencat.cat/ca/dades/dades-obertes/informacio-practica/llicencies/","last_checked_at":"2026-10-08T13:43:06.634Z","is_available":false,"last_http_status":410,"created_at":"2026-06-18T02:13:21.244Z","updated_at":"2026-11-17T02:10:34.737Z"},{"id":"daa912fe-f98a-4ac1-ae9c-b83860708889","dataset_details_id":"0ec09734-aa04-415e-84c1-19dba4e0d9c8","title":"General subdirections of the institutional public sector","description":null,"access_url":"https://analisi.transparenciacatalunya.cat/api/views/6rbu-cawt/rows.json?accessType=DOWNLOAD","download_url":null,"media_type":null,"format":null,"byte_size":null,"license_id":"cat-open-information-licence","license_raw":"https://administraciodigital.gencat.cat/ca/dades/dades-obertes/informacio-practica/llicencies/","last_checked_at":null,"is_available":null,"last_http_status":null,"created_at":"2026-06-18T02:13:21.407Z","updated_at":"2026-11-17T02:10:34.737Z"}],"license":{"id":"cat-open-information-licence","spdx_id":null,"name":"Llicència oberta d'ús d'informació - Catalunya","url":"https://administraciodigital.gencat.cat/ca/dades/dades-obertes/informacio-practica/llicencies/","is_open":true,"is_redistributable":true,"requires_attribution":true,"category":"national","notes":null,"created_at":"2026-11-17T02:10:34.737Z"}},"license":{"id":"cat-open-information-licence","spdx_id":null,"name":"Llicència oberta d'ús d'informació - Catalunya","url":"https://administraciodigital.gencat.cat/ca/dades/dades-obertes/informacio-practica/llicencies/","is_open":true,"is_redistributable":true,"requires_attribution":true,"category":"national","notes":null,"created_at":"2026-11-17T02:10:34.737Z"},"reuse":{"license_id":"cat-open-information-licence","license_name":"Llicència oberta d'ús d'informació - Catalunya","license_url":"https://administraciodigital.gencat.cat/ca/dades/dades-obertes/informacio-practica/llicencies/","commercial_use":{"status":"unknown","value":null},"redistribution":{"status":"yes","value":true},"attribution_required":{"status":"yes","value":true},"share_alike":{"status":"no","value":false},"personal_data_warning":{"status":"yes","value":true},"cache_and_mirror":{"status":"unknown","value":null},"derivatives":{"status":"yes","value":true},"undetermined":["commercial_use","cache_and_mirror"],"basis":"licence_text","confidence":0.95,"confidence_tier":"high","source_text":"Llicència oberta d'ús d'informació - Catalunya. \"Què permet aquesta llicència? La reutilització de la informació. La distribució i la comunicació pública de la informació. La transformació de la informació per fer-ne obres derivades, per a tot el món i sense cap limitació temporal, sempre que no es contradigui amb la llicència o avís que pugui tenir un conjunt de dades específicament, que és la que preval.\" Condicions d'ús: \"Cal citar la font de la informació\"; \"Quan la informació contingui dades de caràcter personal, cal especificar la finalitat o les finalitats concretes per a les quals és possible la reutilització futura de les dades.\" \"No s'autoritza el subllicenciament de les dades.\" Commercial use is not stated by the general licence: specific licences \"poden tenir per objecte usos concrets autoritzats, comercials o no\". No share-alike term.","source_url":"https://administraciodigital.gencat.cat/ca/dades/dades-obertes/informacio-practica/llicencies/","reviewed_at":null},"license_raw":"https://administraciodigital.gencat.cat/ca/dades/dades-obertes/informacio-practica/llicencies/","licence":{"licence_id":"cat-open-information-licence","status":"stated","basis":"licence_text","terms":["attribution"],"redistribution":"yes","commercial":"unknown","licence_url":"https://administraciodigital.gencat.cat/ca/dades/dades-obertes/informacio-practica/llicencies/","licence_raw":"https://administraciodigital.gencat.cat/ca/dades/dades-obertes/informacio-practica/llicencies/","source_url":null,"notice":"licence: cat-open-information-licence [attribution] — commercial reuse: not stated — publisher states: “https://administraciodigital.gencat.cat/ca/dades/dades-obertes/informacio-practica/llicencies/”"},"latest_check":{"id":"d8c06706-286f-4f40-967d-6b6e92f1b89f","entry_id":"66949f04-dc8c-4aa1-a93e-d8d635733b97","status":"VERIFIED","last_checked_at":"2026-11-23T20:01:14.765Z","p50_latency_ms":2804,"p95_latency_ms":null,"last_error":null,"consecutive_failures":0,"created_at":"2026-06-18T02:13:52.756Z","updated_at":"2026-11-23T20:01:14.765Z","consecutive_successes":178,"probe_url":"https://analisi.transparenciacatalunya.cat/api/views/6rbu-cawt/rows.csv?accessType=DOWNLOAD","probe_method":"GET","probe_http_status":200,"probe_content_type":"text/csv; charset=utf-8","probe_succeeded_at":"2026-11-23T20:01:14.765Z"},"data_profile":{"id":"9a01a59b-c7af-44f6-b127-baea72383654","entry_id":"66949f04-dc8c-4aa1-a93e-d8d635733b97","profile_source":"socrata","profile_kind":"dataset","dataset_id":null,"fields":[{"name":"id_sac_subdireccio","type":"number","label":"Identificador SAC","format":"number","filterable":true,"description":"Codificació de 5 dígits que identifica unívocament una subdirecció general. És un codi propi de SAC (Sistema d’Atenció Ciutadana). Els registres amb identificador superior a 99990 són registres propis del catàleg de dades que s’afegeixen per donar valor de completesa a l’entitat. ","description_en":"Five-digit SAC code uniquely identifying a general subdirection.","description_en_by":"local:qwen-agent"},{"name":"nom_subdireccio","type":"string","label":"Non de la subdirecció","format":"text","filterable":true,"description":"Nom de la subdirecció general. ","description_en":"Name of the general subdirection.","description_en_by":"local:qwen-agent"},{"name":"id_naturalesa_sector_public","type":"string","label":"Identificador naturalesa del sector públic","format":"text","filterable":true,"description":"Identificador de les diferents tipologies en què es poden classificar les entitats del sector públic institucional de l'Administració de la Generalitat.","description_en":"Identifier of the institutional public sector entity typology.","description_en_by":"local:qwen-agent"},{"name":"id_jerarquic","type":"string","label":"Identificador jeràrquic","format":"text","filterable":true,"description":"Identificador de la Secretaria o Direcció General a on està relacionada la subdirecció general. ","description_en":"Identifier of the related secretariat or general direction.","description_en_by":"local:qwen-agent"},{"name":"id_departament","type":"string","label":"Identificador departament","format":"text","filterable":true,"description":"Identificador únic del departament a on pertany la subdirecció general. És un codi propi de SAC, exceptuant els identificadors superiors a 99990 que són propis del catàleg de dades. ","description_en":"Unique identifier of the department containing the general subdirection.","description_en_by":"local:qwen-agent"}],"field_count":5,"sample_records":[{"id_jerarquic":"21505","id_departament":"1599","nom_subdireccio":"Subdirecció General de Serveis Bàsics del Sistema de Formació i Qualificació Professionals","id_sac_subdireccio":"22817","id_naturalesa_sector_public":"01"},{"id_jerarquic":"592","id_departament":"6","nom_subdireccio":"Subdirecció General de Recerca i de Gestió del Coneixement","id_sac_subdireccio":"19919","id_naturalesa_sector_public":"01"},{"id_jerarquic":"592","id_departament":"6","nom_subdireccio":"Subdirecció General de Formació","id_sac_subdireccio":"594","id_naturalesa_sector_public":"01"},{"id_jerarquic":"592","id_departament":"6","nom_subdireccio":"Gerència","id_sac_subdireccio":"18593","id_naturalesa_sector_public":"01"},{"id_jerarquic":"2570","id_departament":"23459","nom_subdireccio":"Subdirecció General d'Activitats Esportives i Infraestructures","id_sac_subdireccio":"2572","id_naturalesa_sector_public":"01"}],"record_count":"49","data_size_bytes":null,"dataset_count":null,"query_examples":[{"url":"https://analisi.transparenciacatalunya.cat/resource/6rbu-cawt.json","curl":"curl -s 'https://analisi.transparenciacatalunya.cat/resource/6rbu-cawt.json?$limit=20' -H 'Accept: application/json'","label":"Query rows (SODA)","method":"GET","description":"Rows of the dataset as JSON; filter with $where (SoQL), sort with $order, page with $limit and $offset."},{"url":"https://analisi.transparenciacatalunya.cat/api/views/6rbu-cawt/rows.csv?accessType=DOWNLOAD","curl":"curl -sL 'https://analisi.transparenciacatalunya.cat/api/views/6rbu-cawt/rows.csv?accessType=DOWNLOAD' -o dataset.csv","label":"Export CSV","method":"GET","description":"The whole dataset as one CSV file."}],"status":"ok","error_message":null,"profiled_at":"2026-11-20T08:39:01.972Z","run_id":"41ba9bb1-0c1c-4c7a-a6a6-ddc380f31011","created_at":"2026-06-18T02:36:09.009Z","updated_at":"2026-11-22T00:30:15.898Z","license_raw":"See Terms of Use","license_id":null,"consecutive_failure_count":0,"last_error_at":null,"last_error_message":null,"fields_with_example_values":5,"example_values_counted_at":"2026-11-20T08:39:01.972Z","previewable":true,"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":"256b0cdac7ac9abdec99c366b9986a8e343b713f4109195f8da5a399728009af","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":27,"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":false,"live_basis":"This body was replayed from the worker edge cache (x-edge-cache: hit); the bytes, and therefore answer_sha256, are those of the execution that filled the cache.","created_at":"2026-11-23T22:50:58.283Z","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."}}