The dataset viewer is not available for this subset.
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/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/harbor/harbor.py", line 171, in _split_generators
raise DataFilesNotFoundError("No task.toml or instruction.md files found")
datasets.exceptions.DataFilesNotFoundError: No task.toml or instruction.md files found
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.
FJC Integrated Database (IDB)
Federal district-court civil records, criminal-defendant records and appeals from the Federal Judicial Center (FJC) Integrated Database (IDB). Civil records cover statistical years (SY) 1988 through June 2026; criminal defendants cover fiscal years (FY) 1970–2025; appeals cover 1971 through June 2026. Use this database to study filing patterns, case dispositions and sentences. Reopened or transferred civil matters can have multiple records, so row counts are not counts of unique cases.
Start querying
Preview civil source records filed from 2025 onward. Reopened or transferred matters can have repeated docket keys. The result shows up to five records: FILEDATE is the filing date and DISTRICT is a court district code, not a district name. A filing year is different from the statistical or fiscal reporting year.
Choose R or Python. Install the datapond package once: use install.packages("datapond") in R, or run python -m pip install datapond in a terminal.
R
library(datapond)
con <- dp_connect("fjc")
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 FILEDATE,DISTRICT FROM civil WHERE FILEDATE>=DATE '2025-01-01' LIMIT 5"))
}, finally = dp_disconnect(con))
Python
import datapond
con = datapond.connect('fjc')
try:
con.execute("SET threads=1")
con.execute("SET memory_limit='128MiB'")
con.execute("SET max_temp_directory_size='0B'")
print(con.execute("""SELECT FILEDATE,DISTRICT FROM civil WHERE FILEDATE>=DATE '2025-01-01' 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 and coverage
21,119,023 records across three tables.
| Table | Description | Row Count | Column Count |
|---|---|---|---|
civil |
Civil cases filed in U.S. district courts, statistical year 1988 through June 2026: one row per source case record (parties, nature of suit, jurisdiction, filing/termination dates, disposition, judgment) | 10,959,535 | 47 |
criminal |
Criminal defendants in U.S. district courts, FY1970 through FY2025: one row per defendant (filing offenses, disposition, sentence, dates) | 7,743,962 | 176 |
appellate |
Appeals filed in U.S. courts of appeals, 1971 through June 2026: one row per appeal (origin, nature of suit/offense, disposition, dates, judges) | 2,415,526 | 71 |
See the data dictionary for column definitions.
Keys and interpretation
Column names are the IDB’s own. Its -8/-9 not-applicable codes and 01/01/1900 date sentinels are stored as NULL.
Civil docket keys are (CIRCUIT, DISTRICT, OFFICE, DOCKET), but reopening, reinstatement, remand or transfer can create another record for the same key. Civil TAPEYEAR is the statistical year last reported; use FILEDATE for filing-year analyses. Pending cases have no TERMDATE.
Criminal rows are defendants, not cases. Use DOCKET, CIRCUIT, DISTRICT and OFFICE together to group them by case. criminal.fiscal_year uses FISCALYR for 1996 onward or TAPEYEAR for 1970–1995. The two eras use different offense-code columns and codebooks, so do not assume the numeric codes mean the same thing.
Appellate DCIRC, DDIST, DOFFICE and DDOCKET identify the district case, but that docket number may be missing or nonunique. The repository links the detailed codebooks and additional caveats.
More example queries
Count civil source records by filing year from 2015 onward. This direct DuckDB example is another way to connect; it does not require a second package installation.
INSTALL httpfs; LOAD httpfs;
ATTACH 'https://huggingface.co/datasets/Nason/fjc-database/resolve/main/fjc.duckdb' AS fjc (READ_ONLY);
SELECT EXTRACT(YEAR FROM FILEDATE) AS year, COUNT(*) AS civil_case_records
FROM fjc.civil WHERE FILEDATE >= '2015-01-01'
GROUP BY 1 ORDER BY 1;
Sources and maintenance
Sources and build documentation
Source: Federal Judicial Center (Integrated Database). License: Public domain.
The federal courts report the records to the Administrative Office of the U.S. Courts. The FJC publishes them in its Integrated Database, updated quarterly.
Build pipeline, codebooks and caveats: https://github.com/ian-nason/fjc-database Source: https://www.fjc.gov/research/idb (public domain).
R with DBI and duckdb
Install the dependencies once with install.packages(c("DBI", "duckdb")).
library(DBI)
con <- dbConnect(duckdb::duckdb())
dbExecute(con, "INSTALL httpfs")
dbExecute(con, "LOAD httpfs")
dbExecute(con, "ATTACH 'https://huggingface.co/datasets/Nason/fjc-database/resolve/main/fjc.duckdb' AS fjc (READ_ONLY)")
dbGetQuery(con, "SELECT FILEDATE FROM fjc.civil 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.
Or with the datapond packages: pip install datapond / pak::pak("datapond-db/datapond-r").
Build pipeline, codebooks and caveats: https://github.com/ian-nason/fjc-database Source: https://www.fjc.gov/research/idb (public domain).
- Downloads last month
- 436