COLD Cases: 8.3 Million US Court Decisions with Opinions and Metadata (Harvard Library Innovation Lab, CourtListener)

Provider
Harvard Library Innovation Lab; Free Law Project (CourtListener)
License
Public Domain (source)
Size
35 files
Format
Parquet (in sampled files)
Stored at
Hugging Face (https://huggingface.co/datasets/harvard-lil/cold-cases)
Access
Free and public. No account with the data provider is needed.
Category
Natural Language Processing
Source
https://github.com/harvard-lil/cold-cases-export

About this dataset

Collaborative Open Legal Data (COLD) Cases: 8.3 million published United States court decisions (caselaw) with full opinion text and metadata, one record per decision. The Harvard Library Innovation Lab, working with the Free Law Project, reformats CourtListener's bulk data so that each decision carries its majority, concurring and dissenting opinions with their authors, the head matter, the judges, the filing date (with an approximate-date flag), and the case name in short and full forms. This is the main open corpus for empirical legal studies and judicial politics, for example how judges write and cite precedent, how courts disagree, and how legal language changes over time. It is also used for legal NLP and retrieval. The data is in 32 gzip-compressed Parquet files (about 32 GB); stream it with Hugging Face datasets, or read it with pyarrow or DuckDB. CourtListener states that its bulk data files are free of known copyright restrictions (Public Domain Mark). Credit the Harvard Library Innovation Lab and the Free Law Project (CourtListener).

How to load this dataset in Python

from datasets import load_dataset
ds = load_dataset("harvard-lil/cold-cases")
print(ds)

Data structure

File types in sampled files: Parquet

Files

Example file: part-00000-bd7b5d85-e1bd-440b-8817-95ec234884f3-c000.gz.parquet

Analyze this dataset without downloading it

On Scigantic, COLD Cases: 8.3 Million US Court Decisions with Opinions and Metadata (Harvard Library Innovation Lab, CourtListener) opens in a hosted JupyterLab notebook with the data already mounted, so you can read files where they are stored instead of copying them first. Each notebook includes an AI assistant that can see the mounted files and write and run analysis code. Open the dataset page to launch a notebook, or browse the full catalog.

This page is also available as Markdown and as JSON.

Related Natural Language Processing datasets