Nason/scdb-database
Supreme Court Database (SCDB) Every U.S. Supreme Court decision 1791-present from Washington University's Supreme Court Database: the modern (1946-, release 2026_01) and Legacy (1791-1945) databases at the case and justice level, all four units of analysis, plus the complete online code book as a codes table so every integer code decodes in SQL. v_cases is pre-decoded. 677,452 rows across 9 tables. Table Description Row Count Column Count justice_votes One row per… See the full description on the dataset page: https://huggingface.co/datasets/Nason/scdb-database.
Supreme Court Database (SCDB)
Every U.S. Supreme Court decision 1791-present from Washington University's Supreme Court Database: the modern (1946-, release 202601) and Legacy (1791-1945) databases at the case and justice level, all four units of analysis, plus the complete online code book as a `codes` table so every integer code decodes in SQL. `vcases` is pre-decoded. 677,452 rows across 9 tables.
Query it remotely
INSTALL httpfs; LOAD httpfs;
ATTACH 'https://huggingface.co/datasets/Nason/scdb-database/resolve/main/scdb.duckdb' AS scdb (READ_ONLY);
SELECT term, decision_direction, COUNT(*) AS n
FROM scdb.v_cases WHERE term >= 2015 GROUP BY 1, 2 ORDER BY 1, 2;Or with the datapond packages: pip install datapond / pak::pak("datapond-db/datapond-r").
Build pipeline and caveats: https://github.com/ian-nason/scdb-database Source: http://scdb.wustl.edu (Spaeth, Epstein et al.; CC BY-NC 3.0 - cite the SCDB).
