card: 697,701 statute sections across 17 states
Browse files
README.md
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc0-1.0
|
| 3 |
+
language: [en]
|
| 4 |
+
task_categories: [text-retrieval, question-answering]
|
| 5 |
+
size_categories: [100K<n<1M]
|
| 6 |
+
tags: [legal, law, statutes, state-law, us-law, public-domain, rag, legal-nlp]
|
| 7 |
+
pretty_name: US State Statutes (verbatim)
|
| 8 |
+
configs:
|
| 9 |
+
- config_name: all
|
| 10 |
+
data_files: data/*/statutes.jsonl.gz
|
| 11 |
+
default: true
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# US State Statutes — held word for word
|
| 15 |
+
|
| 16 |
+
**697,701 statute sections** across **17 states**, each section as its legislature publishes it,
|
| 17 |
+
with the URL it was taken from. Statutes are the law a court applies; a paraphrase is not usable in a
|
| 18 |
+
filing, so the text here is verbatim.
|
| 19 |
+
|
| 20 |
+
| state | sections | codes |
|
| 21 |
+
|---|--:|---|
|
| 22 |
+
| California (`ca`) | 162,431 | `Government Code`, `Health and Safety Code`, `Education Code`, `Business and Professions Code`, `Water Code` … |
|
| 23 |
+
| Texas (`tx`) | 122,681 | `Special District Local Laws Code`, `Government Code`, `Health & Safety Code`, `Insurance Code`, `Occupations Code` … |
|
| 24 |
+
| New Jersey (`nj`) | 56,003 | `New Jersey Statutes (General and Permanent Statutes, official unannotated text)` |
|
| 25 |
+
| Washington (`wa`) | 51,174 | `Revised Code of Washington` |
|
| 26 |
+
| Maine (`me`) | 45,774 | `Maine Revised Statutes` |
|
| 27 |
+
| Virginia (`va`) | 33,082 | `Code of Virginia Title 15.2 (Counties, Cities and Towns)`, `Code of Virginia Title 38.2 (Insurance)`, `Code of Virginia Title 46.2 (Motor Vehicles)`, `Code of Virginia Title 58.1 (Taxation)`, `Code of Virginia Title 2.2 (Administration of Government)` … |
|
| 28 |
+
| North Carolina (`nc`) | 31,706 | `North Carolina General Statutes` |
|
| 29 |
+
| Kansas (`ks`) | 29,265 | `Kansas Statutes Annotated` |
|
| 30 |
+
| Utah (`ut`) | 28,311 | `Utah Code` |
|
| 31 |
+
| North Dakota (`nd`) | 25,269 | `North Dakota Century Code` |
|
| 32 |
+
| Florida (`fl`) | 24,993 | `Florida Statutes ch. 627 (Title XXXVII)`, `Florida Statutes ch. 626 (Title XXXVII)`, `Florida Statutes ch. 403 (Title XXIX)`, `Florida Statutes ch. 316 (Title XXIII)`, `Florida Statutes ch. 607 (Title XXXVI)` … |
|
| 33 |
+
| Idaho (`id`) | 21,784 | `Idaho Code` |
|
| 34 |
+
| Alaska (`ak`) | 20,205 | `Alaska Statutes` |
|
| 35 |
+
| Wisconsin (`wi`) | 14,534 | `Wisconsin Statutes`, `Wisconsin Rules of Civil Procedure (statutory)` |
|
| 36 |
+
| Minnesota (`mn`) | 13,318 | `Minnesota Statutes ch. 609`, `Minnesota Statutes ch. 144`, `Minnesota Statutes ch. 469`, `Minnesota Statutes ch. 473`, `Minnesota Statutes ch. 148` … |
|
| 37 |
+
| Illinois (`il`) | 10,412 | `Illinois Compiled Statutes` |
|
| 38 |
+
| New York (`ny`) | 6,759 | `Became A Law`, `General Business Law`, `Consolidated Laws of New York (BNK)`, `Agriculture And Markets Law`, `County Law` … |
|
| 39 |
+
|
| 40 |
+
## The record
|
| 41 |
+
|
| 42 |
+
`id`, `level` (`state`), `jurisdiction`, `code`, `section`, `citation`, `title`, `text` (verbatim),
|
| 43 |
+
`source` (the URL), `license`, `retrieved_at`, `extra`.
|
| 44 |
+
|
| 45 |
+
## Load it
|
| 46 |
+
|
| 47 |
+
```python
|
| 48 |
+
from datasets import load_dataset
|
| 49 |
+
ds = load_dataset("docketx/us-statutes") # all states
|
| 50 |
+
ca = ds["train"].filter(lambda r: r["jurisdiction"] == "ca") # one state
|
| 51 |
+
```
|
| 52 |
+
|
| 53 |
+
## Coverage, stated honestly
|
| 54 |
+
|
| 55 |
+
These are the states whose statutes we have verified against a live official source, with the structure
|
| 56 |
+
proven by extracting a real section before any harvest ran. A state missing from this table is one we
|
| 57 |
+
have **not yet verified** — in several cases because the state licensed its code to a commercial
|
| 58 |
+
publisher and no official machine-readable source exists. It is never a state whose law we hold and
|
| 59 |
+
withheld. Coverage grows as each state clears that check.
|
| 60 |
+
|
| 61 |
+
Public-domain government works. Part of the [DocketX](https://docketx.ai) open legal corpus, alongside
|
| 62 |
+
`docketx/us-caselaw` (10.8M opinions), `docketx/court-rules` (14,272 rules),
|
| 63 |
+
`docketx/oral-arguments-us` and `docketx/us-judges`.
|