Dataset Viewer (First 5GB)
Auto-converted to Parquet Duplicate
id
stringlengths
36
36
title
stringlengths
1
1.29k
citation
stringlengths
5
718
docket_number
stringlengths
3
304
state
stringclasses
37 values
issuer
stringclasses
37 values
document
stringlengths
300
1.94M
hash
stringlengths
64
64
timestamp
stringlengths
20
20
8637cc97-865a-4bd5-bb40-93eb099706dc
Ex parte Don Davis
null
1140456
alabama
Alabama Supreme Court
STATE OF ALABAMA -- JUDICIAL DEPARTMENT THE SUPREME COURT OCTOBER TERM, 2014-2015 1140456 Ex parte Don Davis, Judge of Mobile County Probate Court oRDER The petition filed in this Court by the Mobile County Probate Judge on February 9, 2015, in substance is a request for an advisory opinion. Section 12-2-10, Ala. Co...
b513f47fa3d1518ad1b3372e111f9170de149bc934637678449f598a1553bf52
2015-02-11T00:00:00Z
7b8c2141-c097-44a3-ac90-858fcc7b15cc
Ex parte Scottsdale Insurance Company.
null
1140631
alabama
Alabama Supreme Court
STATE OF ALABAMA -- JUDICIAL DEPARTMENT THE SUPREME COURT OF ALABAMA OCTOBBR TERM, 2014-2015 1140631 Ex parte Scottsdale Insurance Company. PETITION FOR WRIT OF MANDAMUS (In re: Har-Mar Collision, Inc. v. Scottsdale Insurance Company et al.) (Mobile Circuit Court: cv-11-838) ORDER The petition for a writ of mandamu...
2690f4041034027ba9bf76c0cf14524289fa087b1a00b1d77f9ae038483b0dff
2015-04-17T00:00:00Z
fcbe0fa9-12b0-4ced-b522-6cf855361420
Ex parte Corey Beantee Melton. PETITION FOR WRIT OF CERTIORARI TO THE COURT OF CRIMINAL APPEALS (In re: Corey Beantee Melton v. State of Alabama) (Shelby Circuit Court: CC-06-1139; Criminal Appeals : CR-08-1767). Writ Denied. No Opinion.
null
1100327
alabama
Alabama Supreme Court
RELEASED. WAR 11 2011 ures CSOT OF MARA Yotice: Tals opinion ie subject to forms! revision before publication in the advance sh ot Southern Heporter. Readers are requested co nobity she Reporter of Deckelons, Alabata Kepeilace Coures, 300 Dexter hvense, Nonegowary, Alabana 36104-3741 { (224) 229-0609), oF any ...
412c852714804141fcefddcd2e2fe319b17c882d47573628bd332c30a8d6eddd
2011-03-11T00:00:00Z
58a726ac-425b-4249-8d13-bcad1ec83fbb
Chris Dwayne Williams v. Alabama Department of Corrections
null
1180400
alabama
Alabama Supreme Court
LEASED supe COURT OE ALABAMA STATS OF ALABAMA -- JUDICIAL DEPARTMENT THE SUPREME COURT SPECIAL TERM, 2019 1180400 Chris Dwayne Williams v. Alabama Department of Corrections (Appeal from Montgomery Circuit Court: CV-18-667). PARKER, Chief Justice. AFFIRMED. NO OPINION Seo Rule 53{a) (1) and (a) (2) (P), Ala. 8. App...
8e89c0138f7044056b3778a60e493f69201d950cbf1e7b1d2350a5abda3a9af7
2019-08-09T00:00:00Z
e3fd4e28-0f32-4484-8d13-d38cca31bb52
Ex parte Clarence E. Haynes, Talladega County Circuit Clerk, and Amber Edwards, Talladega County Juvenile Intake Officer. PETITION FOR WRIT OF CERTIORARI TO THE COURT OF CIVIL APPEALS (In re: Ex parte G.L. (In the Matter of H.C.L., a minor child))
null
1081171
alabama
Alabama Supreme Court
RELEASED Notice: This opinion is subject to fora! revision before publication in the advance ‘sheets of Southern Reporter. eaders are rogsasted to notity the Raporear Of Deciaionay Alabama. appellate” Courtsy. 300, Dexter Avenue, Mantgcnacy, Alabama 36106-3761 (S00) Zascaeto}, ‘of any typograpnice: or other e...
445287ab5bc588e6146aa4e2ab599d57a28367ce6def5edca8ba0479ef4516c9
2009-09-04T00:00:00Z
c6e49f67-47eb-4f37-a060-dfe365faec05
Ex parte State of Alabama ex rel. Alabama Policy Institute, Alabama Citizens Action Program, and John E. Enslen, in his official capacity as Judge of Probate for Elmore County.
null
null
alabama
Alabama Supreme Court
IN THE SUPREME COURT OF ALABAMA March 10, 2015 1140460 Bx parte State of Alabama ex rel, Alabama Policy Institute, Alabama Citizens Action Program, and John &. Enslen, in his official capacity as Judge of Probate for Elmore County. ORDER In an opinion issued on March 3, 2015, this Court ordered Judge Don Davis, the ...
5c825c09e40b29d15c56a1b425aac1801964b07fe0ff0ce7c2c30875f7da1706
2015-03-10T00:00:00Z
6e438a17-bd5a-4380-91b0-a765623039da
Korte v. Betsey Bayless, ...Preserve Arizona -- Yes on Proposition 100 Committee... (Supreme Court Order)
null
CV-00-0308-AP/EL
arizona
Arizona Supreme Court
FILED ‘AUG 3 1 2000 SUPREME COURT OF ARIZONA VIRGINIA KORTE; CARLA, Arizona Supreme Court No. CV-00-0308-AP/EL Plaintiffs/Appeliees, Maricopa County Superior court No. cv 2000-01435 BETSEY BAYLESS, Secretary of State for the State of Arizona, Defendant, PRESERVE ARTZONA--YES ON PROPOSITION 100 COMMITTEE, RU...
e5f34f2e1b4be23a967b01163955b0a4d64e39b2f1d1c38bd821f3221b173485
2000-08-31T00:00:00Z
77f5a6e2-0631-40ee-977a-9a87e97d7dcd
MARK V. SCHEEHLE v JUSTICES OF THE SUPREME COURT et al
null
CV-04-0103-CQ
arizona
Arizona Supreme Court
SUPREME COURT OF ARTZONA MARK V. SCHEEHLE, Arizona Supreme Court No, CV=04-0103-co Plaintife, United states District court No. CIV-98-1095-PHx-siat QUSTICES OF THE SUPREME COURT OF THE STATE OF ARIZONA: STANLEY G. FELDMAN, CHARLES = JONES, FREDERICK J. MARTONE, RUTH V. MCGREGOR, and THOMAS A. 2UAKET; JUDGES OF TH...
3a4c836b03cf83e156dc0e2039f60131b81830475a4bf59d5272848f30afb21b
2005-10-05T00:00:00Z
8e048733-33a0-4851-9a0c-235c696a3abd
State of Alabama ex rel. Luther Strange v. Tyrone Clark, Sr.
null
1151021
alabama
Alabama Supreme Court
In the Supreme Court of Alabama duly 27, 2016 State of Alabama ex rel. Luther Strange, Attorney General 1151021 Tyrone Clark, sr., Sheriff of Sumter County PER CURIAM. In January 2015, Tyrone Clark, Sr., began his present term of office as the sheriff of sumter County. on June 30, 2016, the State of Alabama, by and...
c247d7fd516e3483b10fb161a02b82308b7880e2990369d1e110db84fb6f1b2a
2016-07-27T00:00:00Z
07932394-a56b-4791-9436-6b7073efdecf
Zimmerman v. Betsey Bayless, ...and House of Representatives and Senate of the State of Arizona ...and Arizonans for Wildlife Conservation (Supreme Court Order)
null
CV-00-0316-AP/EL
arizona
Arizona Supreme Court
FILED AUG 3 1 2000 SUPREME COURT OF ARIZONA DOUGLAS G. ZIMMERMAN, Arizona Supreme Court No. C¥-00-0326-a8/E2, Plaintiff-Appellant/ Cross-Appeliee, ) Maricopa County Superi: Cours No. CV 2000-15083 BETSEY BAYLESS, Secretary of State for the State of Arizona, De! dant-Appellee, and ‘THE HOUSE OF...
432888e5dadaf4f7644881b856d8a24c956154c61abc29c9c758e75957230ec9
2000-08-31T00:00:00Z
e235637a-3976-4140-9396-52ad51cab9c1
THOMAS HANEY v TOM RICE et al
null
CV-08-0195-AP/EL
arizona
Arizona Supreme Court
FILED JUL 11 2008 soieueueic SUPREME COURT OF ARTZONA In Division THOMAS HANEY, an individual and qualified elector, Arizona Supreme Court No. CV-08-0195-AP/EL Appellant, ) Maricopa County Superior Court No. cv2008-014383 ‘THE HONORABLE R. FULTON BROCK, DON STAPLEY, ANDREW KUNASEK, MAX W. WI...
0bed4ca1c78ba52b77a95d28d963f66f23d166b29dec2f79b89ed7e47fcd5c40
2008-07-11T00:00:00Z
End of preview. Expand in Data Studio

The Case-law, centralizing legal decisions for better use, a community Dataset.

The Case-law Dataset is a comprehensive collection of legal decisons from various countries, centralized in a common format. This dataset aims to improve the development of legal AI models by providing a standardized, easily accessible corpus of global legal documents.

Join us in our mission to make AI more accessible and understandable for the legal world, ensuring that the power of language models can be harnessed effectively and ethically in the pursuit of justice.

Objective

The primary objective of this dataset is to centralize laws from around the world in a common format, thereby facilitating:

  1. Comparative legal studies
  2. Development of multilingual legal AI models
  3. Cross-jurisdictional legal research
  4. Improvement of legal technology tools

By providing a standardized dataset of global legal texts, we aim to accelerate the development of AI models in the legal domain, enabling more accurate and comprehensive legal analysis across different jurisdictions.

Dataset Structure

The dataset is organized with the following columns:

  • id: A unique identifier for each document
  • title: The title of the legal document
  • citation: The citation information for the document, referencing legal precedents or sources
  • docket_number: The docket number associated with the legal case or document
  • state: The state or jurisdiction related to the document (e.g., "Maine"...)
  • issuer: The entity or authority that issued the document
  • document: The full text content of the legal document
  • hash: A SHA-256 hash of the document for verification purposes, ensuring data integrity
  • timestamp: The timestamp indicating when the document was created, enacted, or last updated

Easy-to-use script for hashing the document:

import hashlib
import datasets

def hash(
  text: str
) -> str:
    """
    Create or update the hash of the document content.

    This function takes a text input, converts it to a string, encodes it in UTF-8, 
    and then generates a SHA-256 hash of the encoded text.

    Parameters
    ----------
    text : str
        The text content to be hashed.

    Returns
    -------
    str
        The SHA-256 hash of the input text, represented as a hexadecimal string.
    """
    return hashlib.sha256(str(text).encode()).hexdigest()

dataset = dataset.map(lambda x: {"hash": hash(x["document"])})

Country-based Splits

The dataset uses country-based splits to organize legal documents from different jurisdictions. Each split is identified by the ISO 3166-1 alpha-2 code of the corresponding country.

ISO 3166-1 alpha-2 Codes

ISO 3166-1 alpha-2 codes are two-letter country codes defined in ISO 3166-1, part of the ISO 3166 standard published by the International Organization for Standardization (ISO).

Some examples of ISO 3166-1 alpha-2 codes:

  • France: fr
  • United States: us
  • United Kingdom: gb
  • Germany: de
  • Japan: jp
  • Brazil: br
  • Australia: au

Before submitting a new split, please make sure the proposed split fits within the ISO code for the related country.

Accessing Country-specific Data

To access legal documents for a specific country, you can use the country's ISO 3166-1 alpha-2 code as the split name when loading the dataset. Here's an example:

from datasets import load_dataset

# Load the entire dataset
dataset = load_dataset("HFforLegal/case-law")

# Access the French legal decisions
fr_dataset = dataset['fr']

Ethical Considerations

While this dataset provides a valuable resource for legal AI development, users should be aware of the following ethical considerations:

  • Privacy: Ensure that all personal information has been properly anonymized.
  • Bias: Be aware of potential biases in the source material and in the selection of included laws.
  • Currency: Laws change over time. Always verify that you're working with the most up-to-date version of a law for any real-world application.
  • Jurisdiction: Legal interpretations can vary by jurisdiction. AI models trained on this data should not be used as a substitute for professional legal advice.

Citing & Authors

If you use this dataset in your research, please use the following BibTeX entry.

@misc{HFforLegal2024,
  author =       {Louis Brulé Naudet, Timothy Dolan},
  title =        {The case-law, centralizing legal decisions for better use},
  year =         {2024}
  howpublished = {\url{https://huggingface.co/datasets/HFforLegal/case-law}},
}

Feedback

If you have any feedback, please reach out at louisbrulenaudet@icloud.com.

Downloads last month
2,767

Models trained or fine-tuned on HFforLegal/case-law

Collection including HFforLegal/case-law