Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
task_categories:
|
| 4 |
+
- tabular-classification
|
| 5 |
+
- tabular-regression
|
| 6 |
+
tags:
|
| 7 |
+
- courts
|
| 8 |
+
- federal-courts
|
| 9 |
+
- litigation
|
| 10 |
+
- criminal-justice
|
| 11 |
+
- fjc
|
| 12 |
+
- duckdb
|
| 13 |
+
- datapond
|
| 14 |
+
pretty_name: FJC Integrated Database (federal civil, criminal, appellate cases)
|
| 15 |
+
size_categories:
|
| 16 |
+
- 10M<n<100M
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# FJC Integrated Database (IDB)
|
| 20 |
+
|
| 21 |
+
Every civil case (SY1988-present), criminal defendant (FY1970-present) and appeal
|
| 22 |
+
(1971-present) reported by the federal courts to the Administrative Office of the
|
| 23 |
+
U.S. Courts, as published in the Federal Judicial Center's Integrated Database
|
| 24 |
+
(updated quarterly). Column names are the IDB's; -8/-9 and 01/01/1900 sentinels
|
| 25 |
+
are stored as NULL.
|
| 26 |
+
**21,119,023 rows across 3 tables.**
|
| 27 |
+
|
| 28 |
+
| Table | Description | Row Count | Column Count |
|
| 29 |
+
|---|---|---|---|
|
| 30 |
+
| `civil` | Civil cases filed in U.S. district courts, statistical year 1988 to present: one row per case (parties, nature of suit, jurisdiction, filing/termination dates, disposition, judgment) | 10,959,535 | 47 |
|
| 31 |
+
| `criminal` | Criminal defendants in U.S. district courts, FY1970 to present: one row per defendant (filing offenses, disposition, sentence, dates) | 7,743,962 | 176 |
|
| 32 |
+
| `appellate` | Appeals filed in U.S. courts of appeals, 1971 to present: one row per appeal (origin, nature of suit/offense, disposition, dates, judges) | 2,415,526 | 71 |
|
| 33 |
+
|
| 34 |
+
## Query it remotely
|
| 35 |
+
|
| 36 |
+
```sql
|
| 37 |
+
INSTALL httpfs; LOAD httpfs;
|
| 38 |
+
ATTACH 'https://huggingface.co/datasets/Nason/fjc-database/resolve/main/fjc.duckdb' AS fjc (READ_ONLY);
|
| 39 |
+
|
| 40 |
+
SELECT EXTRACT(YEAR FROM FILEDATE) AS year, COUNT(*) AS civil_cases
|
| 41 |
+
FROM fjc.civil WHERE FILEDATE >= '2015-01-01'
|
| 42 |
+
GROUP BY 1 ORDER BY 1;
|
| 43 |
+
```
|
| 44 |
+
|
| 45 |
+
Or with the datapond packages: `pip install datapond` / `pak::pak("datapond-db/datapond-r")`.
|
| 46 |
+
|
| 47 |
+
Build pipeline, codebooks and caveats: https://github.com/ian-nason/fjc-database
|
| 48 |
+
Source: https://www.fjc.gov/research/idb (public domain).
|