Dataset Viewer
The dataset viewer is not available for this subset.
Cannot get the split names for the config 'default' of the dataset.
Exception:    SplitsNotFoundError
Message:      The split names could not be parsed from the dataset config.
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 290, in _generate_tables
                  pa_table = paj.read_json(
                      io.BytesIO(batch), read_options=paj.ReadOptions(block_size=block_size)
                  )
                File "pyarrow/_json.pyx", line 364, in pyarrow._json.read_json
                File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
                File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
                  raise convert_status(status)
              pyarrow.lib.ArrowInvalid: JSON parse error: Column(/validation/queries/court_jurisdictions/[]/[]) changed from string to number in row 0
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 286, in get_dataset_config_info
                  for split_generator in builder._split_generators(
                                         ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      StreamingDownloadManager(base_path=builder.base_path, download_config=download_config)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 101, in _split_generators
                  pa_table = next(iter(self._generate_tables(**splits[0].gen_kwargs, allow_full_read=False)))[1]
                             ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 304, in _generate_tables
                  batch = json_encode_fields_in_json_lines(original_batch, json_field_paths)
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/json.py", line 111, in json_encode_fields_in_json_lines
                  examples = [ujson_loads(line) for line in original_batch.splitlines()]
                              ~~~~~~~~~~~^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/json.py", line 20, in ujson_loads
                  return pd.io.json.ujson_loads(*args, **kwargs)
                         ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
              ValueError: Expected object or value
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 68, in compute_split_names_from_streaming_response
                  for split in get_dataset_split_names(
                               ~~~~~~~~~~~~~~~~~~~~~~~^
                      path=dataset,
                      ^^^^^^^^^^^^^
                      config_name=config,
                      ^^^^^^^^^^^^^^^^^^^
                      token=hf_token,
                      ^^^^^^^^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 340, in get_dataset_split_names
                  info = get_dataset_config_info(
                      path,
                  ...<6 lines>...
                      **config_kwargs,
                  )
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 291, in get_dataset_config_info
                  raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
              datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

CourtListener Judges, Disclosures and Oral Arguments

Selected CourtListener data for studying judicial careers, reported financial interests and oral arguments. This September 30, 2026 source snapshot includes 16,191 people in the judge database, 32,336 financial-disclosure reports from 1987–2022 and 103,710 oral-argument records, often with source speech-to-text transcripts. It does not include opinion text, full dockets, audio files or investment holdings; disclosure coverage is uneven.

Start querying

Show five financial-disclosure records dated from 2018 onward, with the report ID, year and person ID. These are reports, so one person can appear more than once.

person_id links each report to judges.id; id identifies the report and year is its recorded report year.

Choose R or Python. Install datapond once: use install.packages("datapond") in R, or run python -m pip install datapond in a terminal.

R

library(datapond)
con <- dp_connect("courtlistener")
tryCatch({
  DBI::dbExecute(con, "SET threads=1")
  DBI::dbExecute(con, "SET memory_limit='128MiB'")
  DBI::dbExecute(con, "SET max_temp_directory_size='0B'")
  print(DBI::dbGetQuery(con, "SELECT id,year,person_id FROM financial_disclosures WHERE year>=2018 LIMIT 5"))
}, finally = dp_disconnect(con))

Python

import datapond
con = datapond.connect('courtlistener')
try:
    con.execute("SET threads=1")
    con.execute("SET memory_limit='128MiB'")
    con.execute("SET max_temp_directory_size='0B'")
    print(con.execute("""SELECT id,year,person_id FROM financial_disclosures WHERE year>=2018 LIMIT 5""").fetchall())
finally:
    con.close()

Queries run on your computer and read the byte ranges they need. A small result can still require a large scan. These examples limit DuckDB to one thread and a 128 MiB buffer pool with disk spill disabled; that is not a limit on the entire R or Python process. Larger analyses may need more memory or a local download with enough disk space.

Tables, fields and joins

See the data dictionary for column definitions.

Dictionary · Source and caveats

2,277,934 rows across 20 tables. Start with reports and their line items, then people, positions and courts. Oral arguments and opinion links are separate subjects.

Table Description Rows Columns
financial_disclosures One row per federal judicial financial disclosure report (person_id joins judges): year, report type, amendment flag, page count and the original PDF's storage path 32,336 16
disclosure_agreements Agreements reported on a disclosure (financial_disclosure_id joins financial_disclosures) 10,007 7
disclosure_debts Liabilities reported on a disclosure, with value code 18,775 8
disclosure_gifts Gifts reported on a disclosure 2,025 8
disclosure_non_investment_income Non-investment income (teaching, book royalties ...) reported on a disclosure 15,302 8
disclosure_positions Outside positions reported on a disclosure 37,050 7
disclosure_reimbursements Travel reimbursements reported on a disclosure 33,472 10
disclosure_spousal_income Spousal income reported on a disclosure 20,174 7
judges One row per person in CourtListener's judge database (federal and state judges, plus some other public figures): names, birth/death, gender, religion, FJC judge id (fjc_id joins fjc-judges.judges.jid) 16,191 26
positions One row per position held: judgeships (court_id joins courts), clerkships, offices and other jobs, with nomination, confirmation, start and termination dates, appointer, predecessor and how the seat was obtained 51,291 38
educations One row per degree (school_id joins schools) 12,777 8
schools Law schools and universities 6,011 6
political_affiliations One row per recorded party affiliation with its source and dates 8,486 10
judge_races Person-to-race links (race_id decoded in the race column) 6,542 4
courts Every court CourtListener tracks (federal, state, tribal, special), with jurisdiction, PACER and FJC ids, dates and parent court 3,361 20
courthouses Courthouse addresses per court 3,361 11
originating_court_information Lower-court information for appellate dockets (judges, dates, docket numbers) 1,060,419 16
oral_arguments Oral-argument audio metadata and source-provided speech-to-text transcripts; transcription can contain errors 103,710 23
opinion_cluster_panel Judge-to-opinion-cluster panel links (person_id joins judges; cluster ids refer to CourtListener opinion clusters, not included here) 835,616 3
opinion_joined_by Judge-to-opinion 'joined by' links (person_id joins judges; opinion ids refer to CourtListener opinions, not included here) 1,028 3

judges.id = person_id joins people to reports and positions; courts.id = court_id joins positions to courts; financial_disclosures.id = financial_disclosure_id joins a report to its line items. The v_judge_positions view joins 51,291 positions to judges and courts.

Join judges.fjc_id to fjc-judges.judges.jid, not nid. Of 3,711 populated FJC IDs, 3,710 match the October 17, 2026 FJC snapshot.

Researcher caveats

  • CourtListener publishes quarterly snapshots, not incremental changes. A snapshot date does not imply every table has observations through that date.
  • There are 103,418 populated stt_transcript values. These source speech-to-text transcripts may contain recognition errors; audio files are not included.
  • Disclosure reports are extracted from PDFs and have uneven coverage: 1,759 reports for 2020, 14 for 2021, and 12 for 2022. is_amended identifies amended reports.
  • Position type is NULL in 21,225 rows. Positions include law practice, government and academic jobs. The latest recorded start is 2024-12-31. Position ID 44355 has source date 0217-08-11; it is retained without inventing a correction. Across all date columns, supplied outliers extend from 0022-01-01 (position 22118 termination) to 3036-03-30 (originating-court record 966838 judgment entry). Both extremes were verified against raw exports. These are data-quality limits, not meaningful coverage.
  • Judges include federal and state courts with varying completeness. Empty retention events are omitted. Dockets, opinion text and investment holdings are not included; opinion link targets must be resolved through CourtListener.
  • Quoted empty strings and unquoted missing values both become NULL. Numeric/DOUBLE columns retain floating-point values and can round decimals.

Other ways to connect: direct DuckDB SQL

The database is 3,251,122,176 bytes (about 3.03 GiB). Transcripts account for much of the size; select needed columns and filter rather than collecting the whole table. Use a DuckDB SQL client for this alternative connection.

The gift query counts recorded items by person and report year, not unique reports or a population rate. Grouping by the person ID prevents equal names from being merged. Check is_amended and the source reports before interpreting totals.

SET memory_limit='128MiB'; SET threads=1; SET max_temp_directory_size='0B';
INSTALL httpfs; LOAD httpfs;
ATTACH 'https://huggingface.co/datasets/Nason/courtlistener-database/resolve/3bb4dfe4482b8b7c8a04f40ab7a1c5710d7205d6/courtlistener.duckdb' AS cl (READ_ONLY);

SELECT j.id AS judge_id, j.name_last, j.name_first, d.year, COUNT(g.id) AS gifts
FROM cl.financial_disclosures d JOIN cl.judges j ON j.id = d.person_id
LEFT JOIN cl.disclosure_gifts g ON g.financial_disclosure_id = d.id
WHERE d.year >= 2018 GROUP BY 1, 2, 3, 4 HAVING COUNT(g.id) > 0 ORDER BY gifts DESC, judge_id, d.year LIMIT 20;

Install or upgrade the Python datapond package with python -m pip install --upgrade datapond (the examples use 0.1.5), or install released R datapond from CRAN with install.packages("datapond"). R 0.1.1 remains a separate development version. The catalog ID is courtlistener.

Remote queries run on your machine. File size is disk storage, not required RAM; selected columns reduce transfer, but filters and a final LIMIT do not guarantee a small scan. A 128 MiB setting limits DuckDB's buffer pool, not the whole Python/R process. Larger queries can fail with spill disabled. Download only when you have room for the file, temporary download bytes and any existing copy. The direct SQL above sets limits before attachment.

Sources and maintenance

Sources, license and build

Source: Free Law Project (CourtListener bulk data). License: Public Domain Mark (CourtListener bulk data).

Build pipeline and caveats: https://github.com/ian-nason/courtlistener-database Source: Free Law Project, CourtListener bulk data (Public Domain Mark); please credit CourtListener.

R with DBI and duckdb

Install the dependencies once with install.packages(c("DBI", "duckdb")).

library(DBI)
con <- dbConnect(duckdb::duckdb(config = list(memory_limit = "128MiB", threads = "1", max_temp_directory_size = "0B")))
dbExecute(con, "INSTALL httpfs")
dbExecute(con, "LOAD httpfs")
dbExecute(con, "ATTACH 'https://huggingface.co/datasets/Nason/courtlistener-database/resolve/3bb4dfe4482b8b7c8a04f40ab7a1c5710d7205d6/courtlistener.duckdb' AS cl (READ_ONLY)")
dbGetQuery(con, "SELECT id, name_last, name_first FROM cl.judges LIMIT 5")
dbDisconnect(con, shutdown = TRUE)

DuckDB uses HTTP range requests; queries run on your machine and may need substantial memory or download data. A LIMIT does not guarantee a small scan.

Install/upgrade Python with python -m pip install --upgrade datapond (the examples use 0.1.5), or install released R datapond from CRAN with install.packages("datapond"). R 0.1.1 remains a separate development version. The catalog ID is courtlistener.

Remote queries run on your machine. File size is disk storage, not required RAM; selected columns reduce transfer, but filters and a final LIMIT do not guarantee a small scan. A 128 MiB setting limits DuckDB's buffer pool, not the whole Python/R process. Larger queries can fail with spill disabled. Download only when you have room for the file, temporary download bytes and any existing copy. The direct SQL above sets limits before attachment.

The gift query counts recorded items by person and report year, not unique reports or a population rate. Grouping by the person ID prevents equal names from being merged. Check is_amended and the source reports before interpreting totals.

Dictionary · Source and caveats

Build pipeline and caveats: https://github.com/ian-nason/courtlistener-database Source: Free Law Project, CourtListener bulk data (Public Domain Mark); please credit CourtListener. Financial disclosures have uneven coverage and end in 2022. Dockets, opinion text, investment holdings and audio files are not included. Position dates include an upstream year-0217 outlier, retained as supplied. Other source dates extend from year 0022 to 3036; these outliers do not describe meaningful coverage. Quoted empty strings and unquoted missing values both normalize to NULL, preserving the earlier database convention. Transcripts increase the file size to about 3.03 GiB; use selected columns and filters for remote queries.

Downloads last month
474