Datasets:
Tasks:
Text Retrieval
Modalities:
Text
Formats:
parquet
Languages:
English
Size:
10K - 100K
License:
id stringlengths 11 88 | title stringlengths 13 190 | text stringlengths 1.19k 1.93M | source_url stringlengths 39 103 | source_type stringclasses 1
value | jurisdiction stringclasses 1
value | country stringclasses 1
value | language stringclasses 1
value | eli stringclasses 0
values | date stringclasses 1
value | date_issued stringclasses 0
values | retrieved_at stringdate 2026-09-03 02:32:06 2026-10-04 05:06:35 | license stringclasses 1
value | law_status stringclasses 1
value | identifier stringlengths 11 88 | official_identifier stringlengths 11 88 | article_count int32 0 420 | json_path stringlengths 56 133 | metadata_json stringlengths 1.13k 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 | 362 |
| Articles | 11,021 |
| 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, downloadshttps://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.
- 139 Acts come from the National Assembly "Acts & Publications" catalog (
- 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:
pdftotextword 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 inmetadata_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.
- Where the PDF text layer is missing or poor, pages are OCR'd with Tesseract (
- 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
preambleannex row, and schedules becomescheduleannex rows. - Some scans lack reliable section numbers. In that case the complete text is kept as ONE
textrow and flaggedwhole_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}.
- One row per numbered section (
- 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. Seemetadata_json.metadata.retrieval;source_urlshows 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.
- Downloads last month
- 256