Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
8
88
title
stringlengths
10
190
text
stringlengths
1.19k
1.93M
source_url
stringlengths
30
134
source_type
stringclasses
3 values
jurisdiction
stringclasses
1 value
country
stringclasses
1 value
language
stringclasses
1 value
eli
stringclasses
0 values
date
stringdate
1991-01-01 00:00:00
2026-01-01 00:00:00
βŒ€
date_issued
stringclasses
16 values
retrieved_at
stringdate
2026-09-03 02:32:06
2026-10-17 01:03:03
license
stringclasses
18 values
law_status
stringclasses
1 value
identifier
stringlengths
4
102
official_identifier
stringlengths
4
102
article_count
int32
0
420
json_path
stringlengths
25
133
metadata_json
stringlengths
754
4.84k
ng-constitution-1999
Constitution of the Federal Republic of Nigeria 1999
"Constitution of the Federal Republic of Nigeria\n (...TRUNCATED)
https://nigeriarights.gov.ng/files/constitution.pdf
nigeria_official
NG
Nigeria
en
null
1999-05-29
null
2026-09-03T02:32:06Z
"Official texts of the Federal Republic of Nigeria as published by the Federal Ministry of Justice, (...TRUNCATED)
current
Constitution of the Federal Republic of Nigeria 1999
Constitution of the Federal Republic of Nigeria 1999
246
/workspace/legal-corpora/ng/instruments/ng-constitution-1999.json
"{\"schema_version\":\"collection_record.v1\",\"record_type\":\"law\",\"law_identifier\":\"Constitut(...TRUNCATED)
ng-fmj-administration-of-justice-criminal-act-2015.pdf
HW, ADMINISTRATION OF CRIMINAL JUSTICE ACT, 2015
"7\na:\n| = 3\nw > |\nor @\n4 3\nQ O\nm Z\n>\n; β€˜@)\n. β€”\n\nHW, ADMINISTRATION OF CRIMINAL JUSTI(...TRUNCATED)
https://justice.gov.ng/wp-content/uploads/2020/09/Administration-of-Justice-Criminal-Act-2015.pdf
nigeria_official
NG
Nigeria
en
null
null
null
2026-09-08T23:13:28Z
"Official texts of the Federal Republic of Nigeria as published by the Federal Ministry of Justice, (...TRUNCATED)
current
ng-fmj-Administration-of-Justice-Criminal-Act-2015.pdf
ng-fmj-Administration-of-Justice-Criminal-Act-2015.pdf
71
"/workspace/legal-corpora/ng/instruments/ng-fmj-administration-of-justice-criminal-act-2015.pdf.json(...TRUNCATED)
"{\"schema_version\":\"collection_record.v1\",\"record_type\":\"law\",\"law_identifier\":\"ng-fmj-Ad(...TRUNCATED)
ng-fmj-data_protection_and_privacy_bill_2018.pdf
DATA PROTECTION AND PRIVACY BILL, 2018 AND INVITATION TO 1-DAY
"REQUEST FOR COMMENTS AND OBSERVATIONS ON THE HARMONISED DRAFT\n DATA PROTECTION AND PRIVACY BILL, (...TRUNCATED)
https://justice.gov.ng/wp-content/uploads/2020/09/DATA_PROTECTION_AND_PRIVACY_BILL_2018.pdf
nigeria_official
NG
Nigeria
en
null
null
null
2026-09-10T07:02:26Z
"Official texts of the Federal Republic of Nigeria as published by the Federal Ministry of Justice, (...TRUNCATED)
current
ng-fmj-data_protection_and_privacy_bill_2018.pdf
ng-fmj-data_protection_and_privacy_bill_2018.pdf
125
/workspace/legal-corpora/ng/instruments/ng-fmj-data_protection_and_privacy_bill_2018.pdf.json
"{\"schema_version\":\"collection_record.v1\",\"record_type\":\"law\",\"law_identifier\":\"ng-fmj-da(...TRUNCATED)
ng-justice.gov.ng__wp-content__uploads__2020__09__presidential_executive_order_no._1.pdf
Presidential Executive Order No. 1
"Executive Order, 2017 2017 No. 1 A 17\n\nExtraordinary(...TRUNCATED)
https://justice.gov.ng/wp-content/uploads/2020/09/Presidential_Executive_Order_No._1.pdf
nigeria_official
NG
Nigeria
en
null
null
null
2026-09-03T02:36:50Z
"Official texts of the Federal Republic of Nigeria as published by the Federal Ministry of Justice, (...TRUNCATED)
current
https://justice.gov.ng/wp-content/uploads/2020/09/Presidential_Executive_Order_No._1.pdf
https://justice.gov.ng/wp-content/uploads/2020/09/Presidential_Executive_Order_No._1.pdf
26
"/workspace/legal-corpora/ng/instruments/ng-justice.gov.ng__wp-content__uploads__2020__09__president(...TRUNCATED)
"{\"schema_version\":\"collection_record.v1\",\"record_type\":\"law\",\"law_identifier\":\"https://j(...TRUNCATED)
ng-justice.gov.ng__wp-content__uploads__2020__09__presidential_executive_order_no._2.pdf
Presidential Executive Order No. 2
"Executive Order, 2017 2017 No. 2 A 21\n\nExtraordinary(...TRUNCATED)
https://justice.gov.ng/wp-content/uploads/2020/09/Presidential_Executive_Order_No._2.pdf
nigeria_official
NG
Nigeria
en
null
null
null
2026-09-03T02:36:51Z
"Official texts of the Federal Republic of Nigeria as published by the Federal Ministry of Justice, (...TRUNCATED)
current
https://justice.gov.ng/wp-content/uploads/2020/09/Presidential_Executive_Order_No._2.pdf
https://justice.gov.ng/wp-content/uploads/2020/09/Presidential_Executive_Order_No._2.pdf
8
"/workspace/legal-corpora/ng/instruments/ng-justice.gov.ng__wp-content__uploads__2020__09__president(...TRUNCATED)
"{\"schema_version\":\"collection_record.v1\",\"record_type\":\"law\",\"law_identifier\":\"https://j(...TRUNCATED)
ng-justice.gov.ng__wp-content__uploads__2020__09__presidential_executive_order_no._3.pdf
Presidential Executive Order No. 3
"Executive Order, 2017 2017 No. 3 A 23\n\nExtraordinary(...TRUNCATED)
https://justice.gov.ng/wp-content/uploads/2020/09/Presidential_Executive_Order_No._3.pdf
nigeria_official
NG
Nigeria
en
null
null
null
2026-09-03T02:36:52Z
"Official texts of the Federal Republic of Nigeria as published by the Federal Ministry of Justice, (...TRUNCATED)
current
https://justice.gov.ng/wp-content/uploads/2020/09/Presidential_Executive_Order_No._3.pdf
https://justice.gov.ng/wp-content/uploads/2020/09/Presidential_Executive_Order_No._3.pdf
8
"/workspace/legal-corpora/ng/instruments/ng-justice.gov.ng__wp-content__uploads__2020__09__president(...TRUNCATED)
"{\"schema_version\":\"collection_record.v1\",\"record_type\":\"law\",\"law_identifier\":\"https://j(...TRUNCATED)
ng-justice.gov.ng__wp-content__uploads__2020__09__presidential_executive_order_no._4.pdf
Presidential Executive Order No. 4
"Executive Order, 2017 2017 No. 4 A 63\n\nExtraordinar(...TRUNCATED)
https://justice.gov.ng/wp-content/uploads/2020/09/Presidential_Executive_Order_No._4.pdf
nigeria_official
NG
Nigeria
en
null
null
null
2026-09-03T02:36:54Z
"Official texts of the Federal Republic of Nigeria as published by the Federal Ministry of Justice, (...TRUNCATED)
current
https://justice.gov.ng/wp-content/uploads/2020/09/Presidential_Executive_Order_No._4.pdf
https://justice.gov.ng/wp-content/uploads/2020/09/Presidential_Executive_Order_No._4.pdf
11
"/workspace/legal-corpora/ng/instruments/ng-justice.gov.ng__wp-content__uploads__2020__09__president(...TRUNCATED)
"{\"schema_version\":\"collection_record.v1\",\"record_type\":\"law\",\"law_identifier\":\"https://j(...TRUNCATED)
ng-justice.gov.ng__wp-content__uploads__2020__09__presidential_executive_order_no._5.pdf
Presidential Executive Order No. 5
"Presidential Executive Order No. 005 of 2018 2018 No. 5 A 67\n\(...TRUNCATED)
https://justice.gov.ng/wp-content/uploads/2020/09/Presidential_Executive_Order_No._5.pdf
nigeria_official
NG
Nigeria
en
null
null
null
2026-09-03T02:36:55Z
"Official texts of the Federal Republic of Nigeria as published by the Federal Ministry of Justice, (...TRUNCATED)
current
https://justice.gov.ng/wp-content/uploads/2020/09/Presidential_Executive_Order_No._5.pdf
https://justice.gov.ng/wp-content/uploads/2020/09/Presidential_Executive_Order_No._5.pdf
18
"/workspace/legal-corpora/ng/instruments/ng-justice.gov.ng__wp-content__uploads__2020__09__president(...TRUNCATED)
"{\"schema_version\":\"collection_record.v1\",\"record_type\":\"law\",\"law_identifier\":\"https://j(...TRUNCATED)
ng-justice.gov.ng__wp-content__uploads__2020__09__presidential_executive_order_no._6.pdf
Presidential Executive Order No. 6
"Presidential Executive Order, 2018 2018 No. 6 A 149\n\nExtrao(...TRUNCATED)
https://justice.gov.ng/wp-content/uploads/2020/09/Presidential_Executive_Order_No._6.pdf
nigeria_official
NG
Nigeria
en
null
null
null
2026-09-03T02:36:56Z
"Official texts of the Federal Republic of Nigeria as published by the Federal Ministry of Justice, (...TRUNCATED)
current
https://justice.gov.ng/wp-content/uploads/2020/09/Presidential_Executive_Order_No._6.pdf
https://justice.gov.ng/wp-content/uploads/2020/09/Presidential_Executive_Order_No._6.pdf
179
"/workspace/legal-corpora/ng/instruments/ng-justice.gov.ng__wp-content__uploads__2020__09__president(...TRUNCATED)
"{\"schema_version\":\"collection_record.v1\",\"record_type\":\"law\",\"law_identifier\":\"https://j(...TRUNCATED)
ng-justice.gov.ng__wp-content__uploads__2020__09__presidential_executive_order_no._8.pdf
Presidential Executive Order No. 8
"Presidential Executive Order No. 008 of 2018 2018 No. 8 A 99\n\(...TRUNCATED)
https://justice.gov.ng/wp-content/uploads/2020/09/Presidential_Executive_Order_No._8.pdf
nigeria_official
NG
Nigeria
en
null
null
null
2026-09-03T02:36:58Z
"Official texts of the Federal Republic of Nigeria as published by the Federal Ministry of Justice, (...TRUNCATED)
current
https://justice.gov.ng/wp-content/uploads/2020/09/Presidential_Executive_Order_No._8.pdf
https://justice.gov.ng/wp-content/uploads/2020/09/Presidential_Executive_Order_No._8.pdf
13
"/workspace/legal-corpora/ng/instruments/ng-justice.gov.ng__wp-content__uploads__2020__09__president(...TRUNCATED)
"{\"schema_version\":\"collection_record.v1\",\"record_type\":\"law\",\"law_identifier\":\"https://j(...TRUNCATED)
End of preview. Expand in Data Studio

Nigeria Constitution and Acts of the National Assembly (official hosts)

Research snapshot of official national legislation from Federal Ministry of Justice + National Assembly official hosts.

Not legal advice. The official gazette / authentic source prevails over this corpus.

Snapshot

Field Value
Snapshot date 2026-09-10 (base) + 2026-10-03 (NG national EXPAND, live gov.ng)
Coverage official-hosted-snapshot
Source Federal Ministry of Justice + National Assembly official hosts
Collector scrapers/collect_ng.py (base), scrapers/ng_collect.py (expand)
Laws / instruments 394
Articles 11,662
Language en
Jurisdiction Nigeria
License ng-official-texts

Contents

  • data/laws.parquet β€” one row per instrument.
  • data/articles.parquet β€” article/section rows for the same snapshot.
  • scrapers/collect_ng.py β€” research collector used to build the base snapshot (222 instruments).
  • scrapers/ng_collect.py β€” collector for the 2026-10-03 national EXPAND (live gov.ng only).

Expansion 2026-10-03 β€” national EXPAND (append-only)

  • Appended: 140 instruments / 3,805 rows to the 222 / 7,216 base rows. The base rows are unchanged (never-thin).
  • Source: live official government hosts only.
    • 139 Acts come from the National Assembly "Acts & Publications" catalog (https://nass.gov.ng/documents/magazine, downloads https://nass.gov.ng/documents/download/<id>).
    • 1 instrument (Child Rights Enforcement Procedure Rules 2015) comes from justice.gov.ng.
    • Fetched 2026-10-03 PT. robots.txt was obeyed, with at least 2.5 s between requests per host. No LII, mirror or web-archive copies were used.
  • Dedup: against the base snapshot by NASS download id, normalized title + year / Cap number, and text-shingle similarity. 6 catalog items were left out: 3 identical re-uploads, 2 already in the base snapshot, and 1 whose official PDF is corrupt.
  • Text extraction: pdftotext word boxes are used, with marginal notes separated from the body text.
    • Where the PDF text layer is missing or poor, pages are OCR'd with Tesseract (tesseract 5.5.0 eng, pdftoppm 300dpi gray, psm 3, English, 300 dpi). This applied to 64 documents (1,231 pages).
    • Each instrument records its method (text_layer / text_layer+ocr_pages / ocr) and quality metrics in metadata_json.metadata.text_extraction: dictionary-word ratio, garbage-character ratio, characters per page, and grade.
    • Method counts: {'text_layer': 76, 'text_layer+ocr_pages': 13, 'ocr': 51}. Median dictionary-word ratio 0.956.
    • 4 instruments fall below the quality threshold (dict β‰₯ 0.85, garbage ≀ 0.02) and are flagged.
  • Rows:
    • One row per numbered section (<id>-section-<n>). Court rules are split by Order.
    • The text before section 1 (title, explanatory memorandum, arrangement, long title) becomes a preamble annex row, and schedules become schedule annex rows.
    • Some scans lack reliable section numbers. In that case the complete text is kept as ONE text row and flagged whole_text_fallback.
    • Instruments where fewer sections were recovered than the document's own numbering are flagged partial_sections. In those, all the text is still present: unsplit sections are merged into their neighbours.
    • Section split status: {'OK': 82, 'PARTIAL': 34, 'WHOLE_TEXT_FALLBACK': 24}.
  • Provenance note on the base snapshot: 175 of the 222 base instruments were retrieved from web-archive (Wayback id_) copies of official nass.gov.ng / nigeriarights.gov.ng URLs. See metadata_json.metadata.retrieval; source_url shows the official URL. These rows are flagged and left unchanged.

License / reuse

Official texts of the Federal Republic of Nigeria; Official Gazette prevails; not legal advice.

This dataset is not legal advice. The official source prevails.

Source

Known gaps

Constitution (FMOJ PDF) + Acts hosted on nass.gov.ng/documents/download and Wayback of those official URLs. Not LawNigeria/LawPavilion. gazettes.africa not crawled (robots Disallow). NASS SPA lists only recently uploaded Acts; LFN 2004 consolidations are not a complete public catalog on justice.gov.ng.

Update 2026-10-10

Additive merge: 4 new instruments (37 new article rows) from the official-source local corpus (scrapers/cc_country_harvest.py (Common Crawl ranged WARC)); all 362 previously published instrument rows and 11021 article rows are carried verbatim (no removals; merge is by instrument id with URL/text de-duplication). Quality gate dropped non-legislative / garbled / duplicate local files (see MANIFEST). Instruments with no source article split were split on language-specific article headings (backend article_repair_aae).

Batch 2 update (2026-10-16, Africa & Middle East lane)

Additive update on top of endomorphosis/ipfs_nigeria_laws@5b1696af4325: laws/articles 366/11,058 -> 394/11,662 (394/11662). New instruments: 28 (+604 article rows). Every row that was already in this dataset is kept; only this lane's own ng-cc- rows may carry title or language repairs (title repairs kept: 0, language repairs: 0).

  • Source: Common Crawl captures (index -> WARC records) of official government, parliament, gazette and regulator hosts for this country; no live requests. Court and news sites are excluded.
  • New rows must be a single law instrument. News and press items, speeches, reports and plans, forms, tenders and notices, bills and drafts, court rulings, web stubs, budget tables and whole gazette issues (over about 200k characters, or carrying several instruments) are rejected, and rows that duplicate a row already here (same text, or same URL ignoring tracking parameters) are dropped.
  • The pack was audited before release (row-level checks against the base commit, title review). Rows the audit rejected were removed, bad titles were rewritten from the document text, and lane title changes judged wrong were reverted to the earlier title. Counts: dropped 36, retitled 6.
  • Article rows are an exact partition of the law text at numbered article/section markers; laws with no clean markers have no article rows.
  • Per-row provenance (source URL, crawl, dropped candidates and reasons, title/language repairs, audit fixes) is in provenance/changes.json; file hashes in MANIFEST.json.
  • Research compilation of public legal texts. The official gazette / authentic text prevails. Not legal advice.
Downloads last month
150