Datasets:
id stringlengths 11 27 | title stringlengths 13 157 | text stringlengths 13 234k | source_url stringlengths 59 84 | source_type stringclasses 1
value | jurisdiction stringclasses 1
value | country stringclasses 1
value | language stringclasses 1
value | eli stringlengths 45 61 | date stringclasses 294
values | date_issued stringclasses 115
values | retrieved_at stringdate 2026-10-04 22:01:35 2026-10-04 22:21:01 | license stringclasses 1
value | law_status stringclasses 3
values | identifier stringlengths 11 27 | official_identifier stringlengths 9 11 | article_count int32 0 144 | json_path stringclasses 209
values | metadata_json stringlengths 920 2.8k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ukla-2026-1 | Cheltenham Borough Council (Markets) Act 2026 | Cheltenham Borough Council (Markets) Act 2026
2026 CHAPTER i
An Act to make provision for the repeal of section 83 of the Cheltenham Improvement Act 1852; and for connected purposes.
[15th July 2026]
WHEREAS —
It is expedient that the powers of Cheltenham Borough Council should be extended and amended as provided in th... | https://www.legislation.gov.uk/ukla/2026/1/enacted/data.xml | uk_local_act | GB-LOCAL | United Kingdom | en | https://www.legislation.gov.uk/id/ukla/2026/1 | 2026-07-15 | 2026-07-15 | 2026-10-04T22:01:35Z | OGL-UK-3.0 | enacted | ukla/2026/1 | 2026 c. 1 | 5 | /workspace/legal-corpora/gb_ukla/cache/xml/ukla-2026-1.xml.gz | {"schema_version": "collection_record.v1", "record_type": "law", "type": "ukla", "legislation_uri": "https://www.legislation.gov.uk/id/ukla/2026/1", "year": "2026", "number": "1", "isbn": "9780105508397", "availability": "xml", "content_kind": "xml", "feed_updated": "2026-07-16T08:14:19+01:00", "summary": "An Act to ma... |
ukla-2025-1 | Norwich Livestock Market Act 2025 | Norwich Livestock Market Act 2025
2025 Chapter i
An Act to make provision for the relocation of Norwich Livestock Market; and for connected purposes.
[21st July 2025]
WHEREAS —
Norwich City Council (“the Council”) is empowered to hold and regulate markets in Norwich City (“the City”):
The Council is responsible for mar... | https://www.legislation.gov.uk/ukla/2025/1/enacted/data.xml | uk_local_act | GB-LOCAL | United Kingdom | en | https://www.legislation.gov.uk/id/ukla/2025/1 | 2025-07-21 | 2025-07-21 | 2026-10-04T22:01:41Z | OGL-UK-3.0 | enacted | ukla/2025/1 | 2025 c. 1 | 10 | /workspace/legal-corpora/gb_ukla/cache/xml/ukla-2025-1.xml.gz | {"schema_version": "collection_record.v1", "record_type": "law", "type": "ukla", "legislation_uri": "https://www.legislation.gov.uk/id/ukla/2025/1", "year": "2025", "number": "1", "isbn": "9780105508342", "availability": "xml", "content_kind": "xml", "feed_updated": "2025-07-22T11:25:34+01:00", "summary": "An Act to ma... |
ukla-2025-2 | General Cemetery Act 2025 | General Cemetery Act 2025
2025 CHAPTER ii
An Act to make new provision for the regulation and management of the General Cemetery Company upon its registration under the Companies Act 2006; to permit the transfer of the ownership and management of Kensal Green Cemetery and West London Crematorium to a charity; and to co... | https://www.legislation.gov.uk/ukla/2025/2/enacted/data.xml | uk_local_act | GB-LOCAL | United Kingdom | en | https://www.legislation.gov.uk/id/ukla/2025/2 | 2025-10-27 | 2025-10-27 | 2026-10-04T22:01:47Z | OGL-UK-3.0 | enacted | ukla/2025/2 | 2025 c. 2 | 25 | /workspace/legal-corpora/gb_ukla/cache/xml/ukla-2025-2.xml.gz | {"schema_version": "collection_record.v1", "record_type": "law", "type": "ukla", "legislation_uri": "https://www.legislation.gov.uk/id/ukla/2025/2", "year": "2025", "number": "2", "isbn": "9780105508359", "availability": "xml", "content_kind": "xml", "feed_updated": "2025-10-28T14:46:14+01:00", "summary": "An Act to ma... |
ukla-2024-1 | Bishop's Stortford Cemetery Act 2024 | Bishop's Stortford Cemetery Act 2024
2024 Chapter i
An Act to confer powers upon Bishop's Stortford Town Council to extinguish rights of burial and disturb human remains in Bishop's Stortford New Cemetery and Old Cemetery for the purpose of increasing the space for interments; and for connected purposes.
[20 March 2024... | https://www.legislation.gov.uk/ukla/2024/1/enacted/data.xml | uk_local_act | GB-LOCAL | United Kingdom | en | https://www.legislation.gov.uk/id/ukla/2024/1 | 2024-03-20 | 2024-03-20 | 2026-10-04T22:01:53Z | OGL-UK-3.0 | enacted | ukla/2024/1 | 2024 c. 1 | 9 | /workspace/legal-corpora/gb_ukla/cache/xml/ukla-2024-1.xml.gz | {"schema_version": "collection_record.v1", "record_type": "law", "type": "ukla", "legislation_uri": "https://www.legislation.gov.uk/id/ukla/2024/1", "year": "2024", "number": "1", "isbn": "9780105508311", "availability": "xml", "content_kind": "xml", "feed_updated": "2024-03-22T12:42:15+01:00", "summary": "An Act to co... |
ukla-2022-1 | Highgate Cemetery Act 2022 | Highgate Cemetery Act 2022
2022 Chapter i
An Act to confer powers upon the Friends of Highgate Cemetery Trust to operate, maintain and conserve Highgate Cemetery and to extinguish rights of burial and disturb human remains in Highgate Cemetery for the purpose of increasing the space for interments and the conservation ... | https://www.legislation.gov.uk/ukla/2022/1/2022-04-21/data.xml | uk_local_act | GB-LOCAL | United Kingdom | en | https://www.legislation.gov.uk/id/ukla/2022/1 | 2022-04-21 | 2022-03-24 | 2026-10-04T22:01:59Z | OGL-UK-3.0 | current | ukla/2022/1 | 2022 c. 1 | 9 | /workspace/legal-corpora/gb_ukla/cache/xml/ukla-2022-1.xml.gz | {"schema_version": "collection_record.v1", "record_type": "law", "type": "ukla", "legislation_uri": "https://www.legislation.gov.uk/id/ukla/2022/1", "year": "2022", "number": "1", "isbn": "9780105508267", "availability": "xml", "content_kind": "xml", "feed_updated": "2022-07-01T10:11:26+01:00", "summary": "An Act to co... |
ukla-2022-2 | Monken Hadley Common Act 2022 | Monken Hadley Common Act 2022
2022 Chapter ii
An Act to transfer the ownership and management of Monken Hadley Common to Monken Hadley Common Trust and for related purposes.
[28 April 2022]
WHEREAS—
The Churchwardens of the Parish Church of Monken Hadley, in the County of Middlesex (“the Churchwardens”) were incorporat... | https://www.legislation.gov.uk/ukla/2022/2/2022-04-28/data.xml | uk_local_act | GB-LOCAL | United Kingdom | en | https://www.legislation.gov.uk/id/ukla/2022/2 | 2022-04-28 | 2022-04-28 | 2026-10-04T22:02:05Z | OGL-UK-3.0 | current | ukla/2022/2 | 2022 c. 2 | 14 | /workspace/legal-corpora/gb_ukla/cache/xml/ukla-2022-2.xml.gz | {"schema_version": "collection_record.v1", "record_type": "law", "type": "ukla", "legislation_uri": "https://www.legislation.gov.uk/id/ukla/2022/2", "year": "2022", "number": "2", "isbn": "9780105508274", "availability": "xml", "content_kind": "xml", "feed_updated": "2022-09-04T17:43:41+01:00", "summary": "An Act to tr... |
ukla-2018-1 | City of London Corporation (Open Spaces) Act 2018 | City of London Corporation (Open Spaces) Act 2018
CHAPTER i
An Act to make provision relating to the public open spaces under the management and control of the City of London Corporation; and for related purposes.
[15th March 2018]
WHEREAS—
A number of open spaces outside of the City of London are vested in the City of... | https://www.legislation.gov.uk/ukla/2018/1/enacted/data.xml | uk_local_act | GB-LOCAL | United Kingdom | en | https://www.legislation.gov.uk/id/ukla/2018/1 | 2018-03-15 | 2018-03-15 | 2026-10-04T22:02:11Z | OGL-UK-3.0 | enacted | ukla/2018/1 | 2018 c. 1 | 16 | /workspace/legal-corpora/gb_ukla/cache/xml/ukla-2018-1.xml.gz | {"schema_version": "collection_record.v1", "record_type": "law", "type": "ukla", "legislation_uri": "https://www.legislation.gov.uk/id/ukla/2018/1", "year": "2018", "number": "1", "isbn": "9780105508076", "availability": "xml", "content_kind": "xml", "feed_updated": "2023-04-24T10:13:45+01:00", "summary": "An Act to ma... |
ukla-2018-2 | Middle Level Act 2018 | "Middle Level Act 2018\n2018 Chapter ii\nAn Act to amend and update the powers of the Middle Level C(...TRUNCATED) | https://www.legislation.gov.uk/ukla/2018/2/enacted/data.xml | uk_local_act | GB-LOCAL | United Kingdom | en | https://www.legislation.gov.uk/id/ukla/2018/2 | 2018-11-01 | 2018-11-01 | 2026-10-04T22:02:17Z | OGL-UK-3.0 | enacted | ukla/2018/2 | 2018 c. 2 | 25 | /workspace/legal-corpora/gb_ukla/cache/xml/ukla-2018-2.xml.gz | "{\"schema_version\": \"collection_record.v1\", \"record_type\": \"law\", \"type\": \"ukla\", \"legi(...TRUNCATED) |
ukla-2018-3 | University of London Act 2018 | "University of London Act 2018\n2018 Chapter iii\nAn Act to make new provision for the making of sta(...TRUNCATED) | https://www.legislation.gov.uk/ukla/2018/3/enacted/data.xml | uk_local_act | GB-LOCAL | United Kingdom | en | https://www.legislation.gov.uk/id/ukla/2018/3 | 2018-12-20 | 2018-12-20 | 2026-10-04T22:02:23Z | OGL-UK-3.0 | enacted | ukla/2018/3 | 2018 c. 3 | 7 | /workspace/legal-corpora/gb_ukla/cache/xml/ukla-2018-3.xml.gz | "{\"schema_version\": \"collection_record.v1\", \"record_type\": \"law\", \"type\": \"ukla\", \"legi(...TRUNCATED) |
ukla-2017-1 | Faversham Oyster Fishery Company Act 2017 | "Faversham Oyster Fishery Company Act 2017\n2017 Chapter i\nAn Act to provide for the alteration of (...TRUNCATED) | https://www.legislation.gov.uk/ukla/2017/1/enacted/data.xml | uk_local_act | GB-LOCAL | United Kingdom | en | https://www.legislation.gov.uk/id/ukla/2017/1 | 2017-04-27 | 2017-04-27 | 2026-10-04T22:02:29Z | OGL-UK-3.0 | enacted | ukla/2017/1 | 2017 c. 1 | 21 | /workspace/legal-corpora/gb_ukla/cache/xml/ukla-2017-1.xml.gz | "{\"schema_version\": \"collection_record.v1\", \"record_type\": \"law\", \"type\": \"ukla\", \"legi(...TRUNCATED) |
UK Local Acts (legislation.gov.uk)
About 99% of rows have no legal text: 19,972 of 20,171 are title and metadata only. legislation.gov.uk holds these Local Acts (1801–1990) only as print scans with no text layer. No XML or text version is published. These rows are flagged
metadata_only: trueandtext_source: "title_only"inmetadata_json, withlaw_status = "metadata_only". Theirtextfield holds the title only, andmetadata_json.pdf_urllinks to the official scan PDF. Only 199 Acts (all Acts from 1991 onward, plus 11 older ones) have full text and section/schedule rows. Use thefulltext/fulltext_articlesconfigs if you need text. Text may be appended into the same rows later. IDs are derived from the legislation.gov.uk address and will not change.
Status: EXPAND (not COMPLETE). Not legal advice. This is not the official version. The authoritative text is on legislation.gov.uk.
Snapshot
| Field | Value |
|---|---|
| Collection date | 2026-10-04 (feed enumeration and fetch, 15:01–15:21 PT) |
| Source | legislation.gov.uk (The National Archives). Official host only: no mirrors or web archives |
| Document type | UK Local Acts (ukla), 1801–2026 |
| Laws (catalogue rows) | 20,171 |
| Full-text Acts | 199 (182 enacted, 17 current revised versions) |
| Metadata-only rows | 19,972 (print scan only) |
| Article rows | 3,891 (3,606 sections + 285 schedules), all belonging to the 199 full-text Acts |
| Jurisdiction | GB-LOCAL (locality_guess in metadata_json, from a short-title heuristic, for 12,255 rows) |
| License | OGL-UK-3.0 |
| Collector | scrapers/gb_ukla_collect.py (+ scrapers/gb_ukla_client.py) |
Configs
Laws and articles have different schemas, so each one gets its own config.
| config | rows | file |
|---|---|---|
default |
20,171 laws (all, metadata-only rows flagged) | data/laws.parquet |
articles |
3,891 section/schedule rows | data/articles.parquet |
fulltext |
199 laws (full-text Acts only) | data/fulltext/laws.parquet |
fulltext_articles |
3,891 rows (articles of the 199 full-text Acts) | data/fulltext/articles.parquet |
from datasets import load_dataset
laws = load_dataset("endomorphosis/ipfs_uk_local_acts", split="train") # all 20,171
ft = load_dataset("endomorphosis/ipfs_uk_local_acts", "fulltext", split="train") # 199 with text
arts = load_dataset("endomorphosis/ipfs_uk_local_acts", "fulltext_articles", split="train") # their sections
Schema
laws:id(e.g.ukla-2003-1,ukla-vict-42-43-194),title,text,source_url,source_type,jurisdiction,country,language,eli(legislation.gov.uk URI),date,date_issued,retrieved_at,license,law_status(current/enacted/metadata_only),identifier,official_identifier,article_count,json_path,metadata_json.articles:law_id,id(<law_id>-section-<n>/<law_id>-schedule-<n>),title,text,source_url,document_number,article_number,record_type(article/schedule),metadata_json.- IDs come from the URI path because regnal citations repeat (year, chapter) across sessions.
Coverage by decade
| decade | items | full text (XML) | print scan only | article rows |
|---|---|---|---|---|
| 1800s | 1,075 | 0 | 1,075 | 0 |
| 1810s | 1,519 | 0 | 1,519 | 0 |
| 1820s | 1,046 | 0 | 1,046 | 0 |
| 1830s | 1,098 | 0 | 1,098 | 0 |
| 1840s | 1,070 | 0 | 1,070 | 0 |
| 1850s | 1,275 | 3 | 1,272 | 185 |
| 1860s | 1,524 | 1 | 1,523 | 144 |
| 1870s | 1,667 | 2 | 1,665 | 41 |
| 1880s | 1,779 | 0 | 1,779 | 0 |
| 1890s | 1,909 | 0 | 1,909 | 0 |
| 1900s | 1,139 | 3 | 1,136 | 46 |
| 1910s | 1,196 | 0 | 1,196 | 0 |
| 1920s | 946 | 1 | 945 | 11 |
| 1930s | 746 | 0 | 746 | 0 |
| 1940s | 343 | 0 | 343 | 0 |
| 1950s | 427 | 1 | 426 | 8 |
| 1960s | 459 | 1 | 458 | 17 |
| 1970s | 425 | 2 | 423 | 136 |
| 1980s | 311 | 0 | 311 | 0 |
| 1990s | 147 | 115 | 32 | 2,141 |
| 2000s | 41 | 41 | 0 | 822 |
| 2010s | 23 | 23 | 0 | 268 |
| 2020s | 6 | 6 | 0 | 72 |
By citation style: calendar-year citations account for 1,269 items (188 full text). Regnal citations account for 18,902 items (11 full text): Victoria 9,487, George III 2,551, George V 2,525, Edward VII 1,066, George IV 1,046, William IV 673, George VI 492, Elizabeth II 432, and mixed sessions.
Provenance and method
- All data comes from legislation.gov.uk only: the Atom list feed for
ukla(41 pages × 500), CLMLdata.xmlfor the 199 items with XML (Akoma Ntoso cross-checked on a hand-check sample), and links to the static/pdfs/scans. The fetch obeyed robots.txt (crawl-delay 5; 5.5 s spacing) and the Fair Use Policy, with an identifying User-Agent. The full run made 189 requests with 0 errors. - Print-scan PDFs were not bulk-downloaded or OCR'd. A pre-run sample of 9 scans had no text layer.
- Hand check (10 XML, 9 scans, 1 other): section and schedule counts matched the AKN versions exactly, with word coverage of at least 0.993.
- QA: 0 duplicate law or article IDs, 0 orphan articles, 0
article_countmismatches, 0 empty full-text rows, 0 article rows under 40 characters.
License and attribution
License: OGL-UK-3.0 (Open Government Licence v3.0, https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/). Attribution: "Contains public sector information licensed under the Open Government Licence v3.0. © Crown and database right. Derived from content available from legislation.gov.uk (The National Archives)." UK Local Acts are Crown copyright (Acts of Parliament, CDPA 1988 s.164); legislation.gov.uk states all site content is under OGL v3 except where otherwise stated (exceptions concern EUR-Lex-derived material, none of which is in ukla). This dataset is not an official version; the authoritative text is on legislation.gov.uk. Metadata-only rows carry titles/citations and a pdf_url to the official print scan; their text field is the title only.
Contains public sector information licensed under the Open Government Licence v3.0. UK Local Acts are Crown copyright (Acts of Parliament, Copyright, Designs and Patents Act 1988 s.164). This dataset is not the official version.
- Downloads last month
- 74