docketx commited on
Commit
91410ec
·
verified ·
1 Parent(s): c1804f7

refresh il/ny, add ne; one all-string schema in every file (extra = JSON string) so the viewer converts

Browse files
README.md CHANGED
@@ -9,11 +9,38 @@ 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
 
@@ -23,7 +50,10 @@ filing, so the text here is verbatim.
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` |
@@ -34,20 +64,31 @@ filing, so the text here is verbatim.
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
@@ -59,5 +100,5 @@ publisher and no official machine-readable source exists. It is never a state wh
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`.
 
9
  - config_name: all
10
  data_files: data/*/statutes.jsonl.gz
11
  default: true
12
+ dataset_info:
13
+ config_name: all
14
+ features:
15
+ - name: id
16
+ dtype: string
17
+ - name: level
18
+ dtype: string
19
+ - name: jurisdiction
20
+ dtype: string
21
+ - name: code
22
+ dtype: string
23
+ - name: section
24
+ dtype: string
25
+ - name: citation
26
+ dtype: string
27
+ - name: title
28
+ dtype: string
29
+ - name: text
30
+ dtype: string
31
+ - name: source
32
+ dtype: string
33
+ - name: license
34
+ dtype: string
35
+ - name: retrieved_at
36
+ dtype: string
37
+ - name: extra
38
+ dtype: string
39
  ---
40
 
41
  # US State Statutes — held word for word
42
 
43
+ **810,835 statute sections** across **18 states**, each section as its legislature publishes it,
44
  with the URL it was taken from. Statutes are the law a court applies; a paraphrase is not usable in a
45
  filing, so the text here is verbatim.
46
 
 
50
  | Texas (`tx`) | 122,681 | `Special District Local Laws Code`, `Government Code`, `Health & Safety Code`, `Insurance Code`, `Occupations Code` … |
51
  | New Jersey (`nj`) | 56,003 | `New Jersey Statutes (General and Permanent Statutes, official unannotated text)` |
52
  | Washington (`wa`) | 51,174 | `Revised Code of Washington` |
53
+ | Illinois (`il`) | 48,587 (harvest still running at snapshot) | `Illinois Compiled Statutes` |
54
+ | Nebraska (`ne`) | 46,892 (harvest still running at snapshot) | `Nebraska Revised Statutes` |
55
  | Maine (`me`) | 45,774 | `Maine Revised Statutes` |
56
+ | New York (`ny`) | 34,826 (Consolidated Laws) | `Became A Law`, `Education Law`, `Environmental Conservation Law`, `General Business Law`, `Tax Law` … |
57
  | 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)` … |
58
  | North Carolina (`nc`) | 31,706 | `North Carolina General Statutes` |
59
  | Kansas (`ks`) | 29,265 | `Kansas Statutes Annotated` |
 
64
  | Alaska (`ak`) | 20,205 | `Alaska Statutes` |
65
  | Wisconsin (`wi`) | 14,534 | `Wisconsin Statutes`, `Wisconsin Rules of Civil Procedure (statutory)` |
66
  | Minnesota (`mn`) | 13,318 | `Minnesota Statutes ch. 609`, `Minnesota Statutes ch. 144`, `Minnesota Statutes ch. 469`, `Minnesota Statutes ch. 473`, `Minnesota Statutes ch. 148` … |
67
+
68
+ Counts are measured from the files in `data/` as of 2026-09-10. Two harvests were still running when this
69
+ snapshot was taken and will be republished when they finish: **Illinois** (48,587 sections here;
70
+ the ILCS crawl at ftp.ilga.gov honours a 10-second crawl delay and had not yet listed every chapter) and
71
+ **Nebraska** (46,892 sections here of the 47,732 the legislature's chapter index lists; the crawl
72
+ was in chapter 79 of 90). New York is the Consolidated Laws only — Unconsolidated Laws, Court Acts and
73
+ the miscellaneous categories at nysenate.gov were out of scope for this pass.
74
 
75
  ## The record
76
 
77
+ Every row has the same twelve columns, all strings:
78
+
79
  `id`, `level` (`state`), `jurisdiction`, `code`, `section`, `citation`, `title`, `text` (verbatim),
80
  `source` (the URL), `license`, `retrieved_at`, `extra`.
81
 
82
+ `extra` is a JSON **string** (parse it with `json.loads`) carrying whatever else the source exposed —
83
+ chapter, catchline, unit, the state's own short code — so that it can differ by state without breaking
84
+ the shared schema.
85
+
86
  ## Load it
87
 
88
  ```python
89
  from datasets import load_dataset
90
  ds = load_dataset("docketx/us-statutes") # all states
91
+ ne = ds["train"].filter(lambda r: r["jurisdiction"] == "ne") # one state
92
  ```
93
 
94
  ## Coverage, stated honestly
 
100
  withheld. Coverage grows as each state clears that check.
101
 
102
  Public-domain government works. Part of the [DocketX](https://docketx.ai) open legal corpus, alongside
103
+ `docketx/us-caselaw` (10.8M opinions), `docketx/court-rules`, `docketx/oral-arguments-us` and
104
+ `docketx/us-judges`.
data/ak/statutes.jsonl.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d006401f7b40d2f6b0a5c552707f1fcebd9401b73183b8eaebee639f85ea2feb
3
- size 6768279
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:213581818528c6fb2f519b1a57dd4e0529efa9ce8f7b290ac3e0cc17d2706029
3
+ size 6774940
data/ca/statutes.jsonl.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:817b07c942bc079d1b96c58cb4cf2d6ffea3264abe861535217d234ebf7e22b2
3
- size 52234446
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b85b43bfada75230e3f600f0c2c70eb4bdac3aea6beb7eaa8f5d66923fefacb1
3
+ size 52378289
data/fl/statutes.jsonl.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:79e25fd6786536d9404c34c06f9488e1720ec8c4cf2335be5a72189a89e229ce
3
- size 19594185
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc6014fec32cd65449d261b739c104dfe74ffde681e30f814d4e19c4d210a62e
3
+ size 19609912
data/id/statutes.jsonl.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6e0f59c882f7303d9edf0dca01c69933712faea7fc62372ee013de7b7e2565fe
3
- size 10100355
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2666e7b666bfe64d098517740dae6f4b0678d26cb3df94449de6238b4d56ebd
3
+ size 10108242
data/il/statutes.jsonl.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:27819b2843ddddeba4150affd7e618accc5fa9253b5b9ab0f276ab9639ff8832
3
- size 4345778
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:beb6c3049d966a6bdda23e56e3b401e743d88279a3932e27cf3cf045df4c4c66
3
+ size 21461205
data/ks/statutes.jsonl.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:300ab6f44a955d10a71c9d2cde12ecc8117fe09e9b400ea6628dea89b6e614bd
3
- size 13128766
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e26ac9c9c764272f3cfd9bd87b78a835105e19be185276234f48f4e45e9c8829
3
+ size 13134300
data/me/statutes.jsonl.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2f52f00a81ccbf52683f5f0c5e9128d6b9eba3ec501a7e2b76707a9b9920ea33
3
- size 15710751
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ac0103352f2ee8f44752ae9c8fb6670eabe344b43865ce1e727c841b90c7e2a
3
+ size 15721619
data/mn/statutes.jsonl.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7a21bcfaf5616f9aff94d5d29d0ae6e346c0cb52848954ad655e4d931d0bc442
3
- size 8540822
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d30fa311e57ab861c57b6948c2e6c1ba85a94183df7533260cc3140b5f9d9cbd
3
+ size 8541770
data/nc/statutes.jsonl.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c57a87fd3e033da6b8dc7c290296b3dd370671add5548855a2d3d70934a33780
3
- size 15109100
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1a2733fe4c31b3c7269490fdd9c6c63b11313e5f9439dde62128433357fc988
3
+ size 15121260
data/nd/statutes.jsonl.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f1b98c0ad1c4b6f95baa2acd171192893f54b590bfd53f1753c06ec7dbcce8e3
3
- size 8725208
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5be2c380e9c0f2221540de33a872e33f302dcb3761e8675b5be1bb63632f96f7
3
+ size 8734175
data/ne/statutes.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea6fff832d6863ff3dacee3bf17ed23211fef733506332a41fbb7a505105425d
3
+ size 11960449
data/nj/statutes.jsonl.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d6b0441f738a658c116a6660a3fc9c5ff002bce85e6f4a40cf529a3402108283
3
- size 20945919
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8cb666bd6c438ecde520bb4dddf8701283d7f9b4595be1785c6b2fe3c5af552
3
+ size 20980406
data/ny/statutes.jsonl.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a8252aa2e6aef62518930b271d3ff8b7904c471a0a83f3358335853a9ce2f7e0
3
- size 4806731
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1586eb98b92a907bdca910516ebfe6650697c8242caf0831757f07033566c653
3
+ size 27924913
data/tx/statutes.jsonl.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a7aff280370715f5777fa3fd86798e72ec0672545717bda6b3ced3c654b9beba
3
- size 30829360
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:136bdb8b7dd3292ab56dd841cd7569b97032d01c8b1714ef0b330172a6298baa
3
+ size 30906902
data/ut/statutes.jsonl.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:da9f2680e568a729ae8a714348c68a044155f0ae9009ee4779dda392d020847a
3
- size 13270529
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e7688c58c5e6afdaad8866acdaa8b34cee55adacf21848ff7286b5538fd7dbd
3
+ size 13282921
data/va/statutes.jsonl.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c804408771d994c293cd0e3cf1be0c35f3f56ad73fc167bf4759fbfe80108cc8
3
- size 15365553
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e1abf0f8a8d16d371176d311adcdee0a0b53c9877cd1a2b179e0d894ce6fb22
3
+ size 15371362
data/wa/statutes.jsonl.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5c1a606c990a7a060593f045387078dfa2facf39b7d00f330924b499ba225605
3
- size 23427083
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ed77c39bae993eefdaf13461ed253cb67b541da8dc929ff349bff4b4edc4a3f
3
+ size 23468541
data/wi/statutes.jsonl.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ef3dd15d91eae299e068cf1fe7c4154160deab1093b9fb612304f78aa0e71d4b
3
- size 6735078
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e89244908db367e3f6f73555d1a018cfd15e1307fbfff44beba78c3cfa6706d6
3
+ size 6738814