{"id":"63308837-1111-4856-96f1-6deb8e98f9d8","type":"API","name":"[Observatoire habitat] Statut au titre de la loi SRU","slug":"observatoire-habitat-statut-au-titre-de-la-loi-sru","description":"L’article 55 de la loi Solidarité et Renouvellement Urbaine (SRU) du 13 décembre 2000 impose à certaines communes de disposer d’un nombre minimum de logements sociaux. Cette table rassemble, à partir de la période triennale 2017-2019, le statut des communes au regard de la loi SRU (commune soumis...","free_access_class":"FREE_NO_AUTH","auth_type":"NONE","homepage_url":"https://data.ampmetropole.fr/explore/dataset/sru-statut/","docs_url":"https://data.ampmetropole.fr/explore/dataset/sru-statut/","repo_url":null,"status":"ACTIVE","verification_state":"VERIFIED","tags":[],"logo_url":"https://s3-eu-west-1.amazonaws.com/aws-ec2-eu-1-opendatasoft-staticfileset/ampmetropole/favicon?tstamp=158498047026","primary_source_url":"https://data.ampmetropole.fr/explore/dataset/sru-statut/","extraction_confidence":"0.40","created_at":"2026-07-24T19:45:55.510Z","updated_at":"2026-09-06T02:56:30.521Z","last_verified_at":"2026-09-06T02:56:30.521Z","deprecated_at":null,"ranking_score":55,"last_ranked_at":"2026-08-28T22:41:32.599Z","last_seen_at":null,"last_validated_at":null,"last_uptime_at":"2026-09-05T19:41:22.976Z","search_vector":"'-2019':48B,108B '13':22B,82B '2000':24B,84B '2017':47B,107B '55':12B,72B 'a':86B,101B 'articl':11B 'article':71B 'au':4A,53B,64A,113B 'certain':27B 'certaines':87B 'cett':38B 'cette':98B 'commune':28B,52B,59B,119B 'communes':88B,112B 'd':31B,91B 'de':6A,13B,29B,35B,43B,55B,66A,73B,89B,95B,103B,115B 'decembre':83B 'des':51B,111B 'dispos':30B 'disposer':90B 'du':21B,81B 'décembr':23B 'et':17B,77B 'habitat':2A,62A 'impos':25B 'impose':85B 'l':10B,70B 'la':7A,14B,44B,56B,67A,74B,104B,116B 'le':49B,109B 'logement':36B 'logements':96B 'loi':8A,15B,57B,68A,75B,117B 'minimum':34B,94B 'nombr':33B 'nombre':93B 'observatoir':1A 'observatoire':61A 'partir':42B,102B 'periode':105B 'périod':45B 'rassembl':40B 'rassemble':100B 'regard':54B,114B 'renouvel':18B 'renouvellement':78B 'sociaux':37B,97B 'solidarite':76B 'solidarité':16B 'soumi':60B 'soumis':120B 'sru':9A,20B,58B,69A,80B,118B 'statut':3A,50B,63A,110B 'tabl':39B 'table':99B 'titr':5A 'titre':65A 'triennal':46B 'triennale':106B 'un':32B,92B 'urbain':19B 'urbaine':79B 'à':26B,41B","popularity_score":"0.0000","maintenance_score":"0.7000","institution_id":"d014fa31-f333-4e94-80a3-ea8b4459cfd5","institution_type":"MUNICIPALITY","country_code":"FR","official_confidence":40,"proof_summary":"40% - Official domain (ampmetropole.fr)","source_seed_url":null,"is_public_sector":true,"published_at":"2026-07-25T09:56:25.664Z","geographic_scope":"LOCAL","name_en":null,"description_en":null,"native_lang":null,"access_level":"direct","formats":["CSV"],"capability_tier":"live","trust_score":50.75,"merged_into_entry_id":null,"identity_key":"API|https://data.ampmetropole.fr/explore/dataset/sru-statut|[observatoire habitat] statut au titre de la loi sru","upstream_ref":"data.ampmetropole.fr:dataset:sru-statut","access":{"level":"direct","primary":{"kind":"download","label":"Export CSV","method":"GET","url":"https://data.ampmetropole.fr/api/explore/v2.1/catalog/datasets/sru-statut/exports/csv","format":"CSV","source":"query_example","runnable":true,"direct":true},"actions":[{"kind":"download","label":"Export CSV","method":"GET","url":"https://data.ampmetropole.fr/api/explore/v2.1/catalog/datasets/sru-statut/exports/csv","format":"CSV","source":"query_example","runnable":true,"direct":true},{"kind":"query","label":"List records","method":"GET","url":"https://data.ampmetropole.fr/api/explore/v2.1/catalog/datasets/sru-statut/records?limit=20","source":"query_example","runnable":true,"direct":true},{"kind":"query","label":"Select & filter","method":"GET","url":"https://data.ampmetropole.fr/api/explore/v2.1/catalog/datasets/sru-statut/records?select=codeinsee%2Ccommune%2Cmillesime&where=codeinsee+is+not+null&limit=20","source":"query_example","runnable":true,"direct":true},{"kind":"query","label":"Run verified request","method":"GET","url":"https://data.ampmetropole.fr/api/explore/v2.1/catalog/datasets/sru-statut","source":"probe","runnable":true},{"kind":"landing","label":"Read the docs","method":"GET","url":"https://data.ampmetropole.fr/explore/dataset/sru-statut/","source":"docs","runnable":false}],"formats":["CSV"]},"maturity":{"entry_id":"63308837-1111-4856-96f1-6deb8e98f9d8","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":"joinable","level_index":5,"level_label":"Joinable","meaning":"Canonical identifiers and concepts mapped","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","counts_as_coverage":true,"met":true,"reached":true,"criterion":"EXISTS (SELECT 1 FROM entry_field_links efl WHERE efl.entry_id = entries.id AND efl.identifier_id IS NOT NULL AND efl.value_status = 'match')"},{"level":"reproducible","level_index":6,"label":"Reproducible","meaning":"Snapshots and transformation evidence retained","evidence":"at least one retained evidence manifest (migration 078)","counts_as_coverage":true,"met":false,"reached":false,"criterion":"EXISTS (SELECT 1 FROM evidence_manifests em WHERE em.entry_id = entries.id)"},{"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":40,"proven_threshold":80,"institution_id":"d014fa31-f333-4e94-80a3-ea8b4459cfd5","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 'per_item_proven' ELSE 'catalog_inherited' END"},"source_family":{"key":"data.ampmetropole.fr","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-09-07T23:44:31.970Z"},"api_details":{"id":"a4988650-8e6e-4842-8d9e-88faad643961","entry_id":"63308837-1111-4856-96f1-6deb8e98f9d8","base_url":"https://data.ampmetropole.fr/api/explore/v2.1/catalog/datasets/sru-statut","openapi_url":null,"graphql_url":null,"api_version":null,"spec_format":null,"endpoints_count":null,"endpoints":[],"rate_limit_info":null,"free_tier_limits":null,"ping_url":"https://data.ampmetropole.fr/api/explore/v2.1/catalog/datasets/sru-statut","created_at":"2026-07-24T19:45:58.067Z","updated_at":"2026-07-24T19:45:58.067Z"},"dataset_details":{"id":"d9d3390a-6fcf-41a8-b579-c28f038d1d08","entry_id":"63308837-1111-4856-96f1-6deb8e98f9d8","upstream_issued":null,"upstream_modified":"2026-09-01T00:15:31.000Z","themes":[],"update_frequency":null,"temporal_start":null,"temporal_end":null,"spatial_coverage":null,"landing_page":null,"license_id":null,"license_raw":null,"has_documentation":false,"has_data_dictionary":false,"has_versioning":false,"source_portal":"opendatasoft","source_portal_url":"https://data.ampmetropole.fr","created_at":"2026-07-24T19:48:25.185Z","updated_at":"2026-09-01T19:51:36.713Z","publisher":null,"publisher_url":null,"distributions":[],"license":null},"license":{"id":"lo-2.0","spdx_id":"etalab-2.0","name":"Licence Ouverte 2.0 (France / Etalab)","url":"https://www.etalab.gouv.fr/wp-content/uploads/2017/04/ETALAB-Licence-Ouverte-v2.0.pdf","is_open":true,"is_redistributable":true,"requires_attribution":true,"category":"national","notes":null,"created_at":"2026-06-12T16:29:19.729Z"},"reuse":{"license_id":"lo-2.0","license_name":"Licence Ouverte 2.0 (France / Etalab)","license_url":"https://www.etalab.gouv.fr/wp-content/uploads/2017/04/ETALAB-Licence-Ouverte-v2.0.pdf","commercial_use":{"status":"yes","value":true},"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":"yes","value":true},"undetermined":[],"basis":"licence_text","confidence":0.95,"confidence_tier":"high","source_text":"Texte de la licence - le reutilisateur est libre \"de la communiquer, la reproduire, la copier ; de l'adapter, la modifier, l'extraire et la transformer, notamment pour creer des Informations derivees ; de la diffuser, la redistribuer, la publier et la transmettre, de l'exploiter a titre commercial\". Seule obligation : \"mentionner la paternite de l'Information : sa source (a minima le nom du Concedant) et la date de la derniere mise a jour\". Le texte rappelle que le reutilisateur doit respecter \"le cadre legal relatif a la protection des donnees a caractere personnel\". Aucune clause de partage a l'identique n'est imposee.","source_url":"https://github.com/etalab/licence-ouverte/blob/master/LO.md","reviewed_at":null},"license_raw":"https://www.etalab.gouv.fr/wp-content/uploads/2017/04/ETALAB-Licence-Ouverte-v2.0.pdf","latest_check":{"id":"5020051b-9658-40a2-b500-a33e8b208df4","entry_id":"63308837-1111-4856-96f1-6deb8e98f9d8","status":"VERIFIED","last_checked_at":"2026-09-06T02:56:30.252Z","p50_latency_ms":1546,"p95_latency_ms":null,"last_error":null,"consecutive_failures":0,"created_at":"2026-07-26T09:23:53.853Z","updated_at":"2026-09-06T02:56:30.252Z","consecutive_successes":16,"probe_url":"https://data.ampmetropole.fr/api/explore/v2.1/catalog/datasets/sru-statut","probe_method":"GET","probe_http_status":200,"probe_content_type":"application/json; charset=utf-8","probe_succeeded_at":"2026-09-06T02:56:30.252Z"},"data_profile":{"id":"5809e5a0-d3fd-45a7-a580-9b56657c44a0","entry_id":"63308837-1111-4856-96f1-6deb8e98f9d8","profile_source":"opendatasoft","profile_kind":"dataset","dataset_id":"sru-statut","fields":[{"name":"codeinsee","type":"text","label":"Code commune Insee","filterable":true,"description":null},{"name":"commune","type":"text","label":null,"filterable":true,"description":null},{"name":"millesime","type":"text","label":"Millésime","filterable":true,"description":null},{"name":"statut","type":"text","label":"Statut SRU","filterable":true,"description":null},{"name":"comm","type":"text","label":"Commentaire","filterable":true,"description":null},{"name":"codecomm","type":"text","label":"Code commune DGFIP","filterable":true,"description":null},{"name":"geo_shape","type":"geo_shape","label":null,"filterable":false,"description":null},{"name":"geo_point_2d","type":"geo_point_2d","label":null,"filterable":false,"description":null}],"field_count":8,"sample_records":[{"comm":null,"statut":"Soumise","commune":"Marseille","codecomm":"132055","codeinsee":"13055","geo_shape":"[large value omitted]","millesime":"2017-2019","geo_point_2d":{"lat":43.29172312207052,"lon":5.420404860619413}},{"comm":null,"statut":"Soumise, carencée","commune":"Saint-Mitre-les-Remparts","codecomm":"132098","codeinsee":"13098","geo_shape":"[large value omitted]","millesime":"2017-2019","geo_point_2d":{"lat":43.45546510907603,"lon":5.015131480035872}},{"comm":null,"statut":"Plus de 25% de logements sociaux","commune":"Berre-l'Étang","codecomm":"132014","codeinsee":"13014","geo_shape":"[large value omitted]","millesime":"2017-2019","geo_point_2d":{"lat":43.503566721626065,"lon":5.160364961988302}},{"comm":null,"statut":"Soumise","commune":"La Fare-les-Oliviers","codecomm":"132037","codeinsee":"13037","geo_shape":"[large value omitted]","millesime":"2017-2019","geo_point_2d":{"lat":43.554552375591946,"lon":5.202521899765708}},{"comm":null,"statut":"Soumise","commune":"Rognac","codecomm":"132081","codeinsee":"13081","geo_shape":"[large value omitted]","millesime":"2017-2019","geo_point_2d":{"lat":43.49697263144726,"lon":5.2311642112218815}}],"record_count":"276","data_size_bytes":null,"dataset_count":null,"query_examples":[{"url":"https://data.ampmetropole.fr/api/explore/v2.1/catalog/datasets/sru-statut/records?limit=20","curl":"curl -s 'https://data.ampmetropole.fr/api/explore/v2.1/catalog/datasets/sru-statut/records?limit=20' -H 'Accept: application/json'","label":"List records","method":"GET","description":"First 20 records of the dataset as JSON."},{"url":"https://data.ampmetropole.fr/api/explore/v2.1/catalog/datasets/sru-statut/records?select=codeinsee%2Ccommune%2Cmillesime&where=codeinsee+is+not+null&limit=20","curl":"curl -s 'https://data.ampmetropole.fr/api/explore/v2.1/catalog/datasets/sru-statut/records?select=codeinsee%2Ccommune%2Cmillesime&where=codeinsee+is+not+null&limit=20' -H 'Accept: application/json'","label":"Select & filter","method":"GET","description":"Project specific fields (codeinsee, commune, millesime) and filter with ODSQL where clauses."},{"url":"https://data.ampmetropole.fr/api/explore/v2.1/catalog/datasets/sru-statut/exports/csv","curl":"curl -sL 'https://data.ampmetropole.fr/api/explore/v2.1/catalog/datasets/sru-statut/exports/csv' -o dataset.csv","label":"Export CSV","method":"GET","description":"Full dataset export as CSV (also available: json, parquet, xlsx)."}],"status":"ok","error_message":null,"profiled_at":"2026-09-01T19:51:35.842Z","run_id":"d3385f6f-6e50-472b-b9cb-efb4ee7a66d3","created_at":"2026-07-24T19:48:24.688Z","updated_at":"2026-09-01T19:51:35.842Z","license_raw":"https://www.etalab.gouv.fr/wp-content/uploads/2017/04/ETALAB-Licence-Ouverte-v2.0.pdf","license_id":"lo-2.0","consecutive_failure_count":0,"last_error_at":null,"last_error_message":null,"previewable":true,"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":[{"id":"f29afe1a-45bf-486c-964d-511cef2f7010","entry_id":"63308837-1111-4856-96f1-6deb8e98f9d8","limit_type":"requests_per_day","value":"5000","unit":"requests","period":"day","scope":"per-ip","source_id":null,"claim_type":"measured","confidence":"0.90","observed_at":"2026-09-01T19:51:36.878Z"}],"source_access":{"status":"accessed_despite_disallow","host":"data.ampmetropole.fr","requested_path_prefix":"/api/explore/v2.1/","robots_url":"https://data.ampmetropole.fr/robots.txt","user_agent_group":"*","robots_rule":"Disallow: /api/","robots_read_at":"2026-08-25T11:29:21.471Z","decision_ref":"owner decision 2026-08-22, recorded in docs/PROGRESS.md NEEDS-HUMAN: public-sector open-data portals whose purpose is machine access; the directive is an Opendatasoft vendor default reflecting no publisher intent. Concern raised and overruled; see the row.","note":"This answer is derived from a host whose robots.txt DISALLOWS the path Commodity requests, and Commodity requests it anyway under the decision named in `decision_ref`. The rule is quoted verbatim so you can read it yourself. Commodity does not send a user-agent it is not, so any `Allow` granted to a named crawler in that file is not claimed here."},"field_provenance_source_access":{"status":{"basis":"platform_computed","derived":true,"upstream_field":null,"transform":"THIS PLATFORM’S READING OF ITS OWN CONDUCT: that it requests a path this host forbids. No publisher asserts it and none was asked to","cells":{"rows":1,"delivered":1,"empty":0,"stringified":0,"truncated":0}},"host":{"basis":"platform_computed","derived":true,"upstream_field":null,"transform":"the host Commodity addressed, lowercased and stripped of scheme and port by this platform so that one host has one row and one reading","cells":{"rows":1,"delivered":1,"empty":0,"stringified":0,"truncated":0}},"requested_path_prefix":{"basis":"platform_computed","derived":true,"upstream_field":null,"transform":"THE PATH THE VERDICT IS ABOUT, derived from the base URLs this platform stores for the host — not `/`, and not an assumed `/api/`. A verdict about a path we do not call would describe someone else’s traffic","cells":{"rows":1,"delivered":1,"empty":0,"stringified":0,"truncated":0}},"robots_url":{"basis":"platform_computed","derived":true,"upstream_field":null,"transform":"where the file was fetched from — composed by this platform from the host, at the one location the protocol fixes, so it can be re-fetched and the reading disputed","cells":{"rows":1,"delivered":1,"empty":0,"stringified":0,"truncated":0}},"user_agent_group":{"basis":"stored_sample","derived":false,"upstream_field":"the `User-agent` line the deciding rule sits under","transform":"the group heading that made the rule OURS, verbatim from the stored file. Where it is `*` the directive addresses everyone; a group naming another crawler was not applied, because Commodity does not send a user-agent it is not","cells":{"rows":1,"delivered":1,"empty":0,"stringified":0,"truncated":0}},"robots_rule":{"basis":"stored_sample","derived":false,"upstream_field":"the directive line of the matching group","transform":"THE PUBLISHER’S OWN LINE, QUOTED AND UNCUT, as read from robots.txt at the moment below and stored — not fetched for this request, and not part of this response’s payload. It is here so the verdict beside it can be checked rather than taken from us","cells":{"rows":1,"delivered":1,"empty":0,"stringified":0,"truncated":0}},"robots_read_at":{"basis":"platform_computed","derived":true,"upstream_field":null,"transform":"OUR CLOCK when the file was read, never a `Date` header the origin sent. It bounds how stale this reading may be: a publisher can have changed the file since","cells":{"rows":1,"delivered":1,"empty":0,"stringified":0,"truncated":0}},"decision_ref":{"basis":"platform_computed","derived":true,"upstream_field":null,"transform":"WHO DECIDED TO CALL IT ANYWAY, AND WHEN. Recorded by this platform and required by the database before the exception may exist at all, so it can never be anonymous","cells":{"rows":1,"delivered":1,"empty":0,"stringified":0,"truncated":0}},"note":{"basis":"platform_computed","derived":true,"upstream_field":null,"transform":"this platform’s sentence explaining what the reader is holding. Written here, by us, and not a quotation of anybody","cells":{"rows":1,"delivered":1,"empty":0,"stringified":0,"truncated":0}}},"manifest":{"answer_sha256":"a32c448a2a7b8eedf122bd2f3a724cbed7f1a607d4697cc87b797fe1c9e65f95","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":29,"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: data_profile.fields[] (8 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-09-07T23:44:57.714Z","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. Both are entry-scoped, because evidence_manifests is entry-shaped; a domain answer spanning several sources has no single entry and cannot be persisted through that path."}}