Dataset Preview
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 1 missing columns ({'Broad Category'})
This happened while the csv dataset builder was generating data using
hf://datasets/Zeroxdesignart/lawdataforCalifornia/law_resources (1).csv (at revision 493171dba3e06a4432c335cf70db4814a2f71e2e)
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2011, in _prepare_split_single
writer.write_table(table)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, in write_table
pa_table = table_cast(pa_table, self._schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2302, in table_cast
return cast_table_to_schema(table, schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2256, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
Category: string
Subcategory: string
Resource Type: string
Title/Name of Resource: string
Description/Summary: string
Jurisdiction: string
Date of Enactment/Decision: int64
Relevant Court/Authority: string
Citation/Reference: string
Link to Full Text/Source: string
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1611
to
{'Broad Category': Value(dtype='string', id=None), 'Category': Value(dtype='string', id=None), 'Subcategory': Value(dtype='string', id=None), 'Resource Type': Value(dtype='string', id=None), 'Title/Name of Resource': Value(dtype='string', id=None), 'Description/Summary': Value(dtype='string', id=None), 'Jurisdiction': Value(dtype='string', id=None), 'Date of Enactment/Decision': Value(dtype='float64', id=None), 'Relevant Court/Authority': Value(dtype='string', id=None), 'Citation/Reference': Value(dtype='string', id=None), 'Link to Full Text/Source': Value(dtype='string', id=None)}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1534, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1155, in convert_to_parquet
builder.download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare
self._download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1882, in _prepare_split
for job_id, done, content in self._prepare_split_single(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2013, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 1 missing columns ({'Broad Category'})
This happened while the csv dataset builder was generating data using
hf://datasets/Zeroxdesignart/lawdataforCalifornia/law_resources (1).csv (at revision 493171dba3e06a4432c335cf70db4814a2f71e2e)
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)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.
Broad Category string | Category string | Subcategory string | Resource Type string | Title/Name of Resource string | Description/Summary string | Jurisdiction string | Date of Enactment/Decision float64 | Relevant Court/Authority string | Citation/Reference string | Link to Full Text/Source string |
|---|---|---|---|---|---|---|---|---|---|---|
Public and City Law | Public Law | Constitutional Law | Statute | Constitution Act | Foundation of constitutional law | Federal | 1,867 | Supreme Court | Constitution Act 1867 | https://example.com/constitution_act |
State Law | State Law | Property Law | Case Law | Land Ownership Case | Key case in property ownership rights | State | 1,987 | State Court | State v. Property Owner | https://example.com/land_case |
Common Law | Common Law | Tort Law | Case Law | Negligence Case | Landmark case establishing negligence principles | Federal | 1,932 | Supreme Court | Donoghue v Stevenson | https://example.com/negligence_case |
Commercial Law | Commercial Law | Corporate Law | Regulation | Corporate Regulation | Regulations governing corporate activities | Federal | 2,005 | Commerce Commission | Corporate Reg 2005 | https://example.com/corporate_regulation |
International Law | International Law | Human Rights | Treaty | Universal Declaration of Human Rights | International human rights declaration | International | 1,948 | United Nations | UDHR 1948 | https://example.com/udhr |
Contract Law | Contract Law | Service Agreement | Contract | Freelance Work Agreement | Template for freelance work agreements | Federal | 2,022 | Federal Court | Contract Template 2022 | https://example.com/freelance_agreement |
ABR Law | ABR Law | Regulation | Regulation | ABR Regulatory Framework | Framework for ABR compliance | Federal | 2,018 | ABR Authority | ABR Reg 2018 | https://example.com/abr_framework |
Public and City Law | Public Law | Administrative Law | Statute | Administrative Procedure Act | Procedures for administrative actions | Federal | 1,946 | Administrative Court | Administrative Procedure Act 1946 | https://example.com/administrative_procedure |
State Law | State Law | Criminal Law | Statute | Penal Code | Criminal laws and penalties | State | 1,960 | State Legislature | Penal Code 1960 | https://example.com/penal_code |
Common Law | Common Law | Equity Law | Case Law | Equitable Remedies Case | Leading case on equitable remedies | State | 1,889 | High Court | Equitable Remedies 1889 | https://example.com/equitable_remedies |
Commercial Law | Commercial Law | Trade Law | Regulation | International Trade Rules | Rules governing international trade | International | 1,995 | World Trade Organization | WTO Trade Rules 1995 | https://example.com/international_trade_rules |
International Law | International Law | International Trade | Convention | GATT Agreement | General Agreement on Tariffs and Trade | International | 1,947 | International Court of Justice | GATT Agreement 1947 | https://example.com/gatt_agreement |
Contract Law | Contract Law | Employment Contract | Contract | Employee Agreement Template | Standard template for employment contracts | Federal | 2,021 | Labor Court | Employee Agreement 2021 | https://example.com/employee_agreement |
ABR Law | ABR Law | Guidelines | Advisory | ABR Compliance Guidelines | Guidelines for ABR compliance | Federal | 2,023 | ABR Authority | ABR Guidelines 2023 | https://example.com/abr_guidelines |
null | Public Law | Constitutional Law | Statute | Constitution Act | Foundation of constitutional law | Federal | 1,867 | Supreme Court | Constitution Act 1867 | https://example.com/constitution_act |
null | State Law | Property Law | Case Law | Land Ownership Case | Key case in property ownership rights | State | 1,987 | State Court | State v. Property Owner | https://example.com/land_case |
null | Common Law | Tort Law | Case Law | Negligence Case | Landmark case establishing negligence principles | Federal | 1,932 | Supreme Court | Donoghue v Stevenson | https://example.com/negligence_case |
null | Commercial Law | Corporate Law | Regulation | Corporate Regulation | Regulations governing corporate activities | Federal | 2,005 | Commerce Commission | Corporate Reg 2005 | https://example.com/corporate_regulation |
null | International Law | Human Rights | Treaty | Universal Declaration of Human Rights | International human rights declaration | International | 1,948 | United Nations | UDHR 1948 | https://example.com/udhr |
null | Contract Law | Service Agreement | Contract | Freelance Work Agreement | Template for freelance work agreements | Federal | 2,022 | Federal Court | Contract Template 2022 | https://example.com/freelance_agreement |
null | ABR Law | Regulation | Regulation | ABR Regulatory Framework | Framework for ABR compliance | Federal | 2,018 | ABR Authority | ABR Reg 2018 | https://example.com/abr_framework |
null | Public Law | Administrative Law | Statute | Administrative Procedure Act | Procedures for administrative actions | Federal | 1,946 | Administrative Court | Administrative Procedure Act 1946 | https://example.com/administrative_procedure |
null | State Law | Criminal Law | Statute | Penal Code | Criminal laws and penalties | State | 1,960 | State Legislature | Penal Code 1960 | https://example.com/penal_code |
null | Common Law | Equity Law | Case Law | Equitable Remedies Case | Leading case on equitable remedies | State | 1,889 | High Court | Equitable Remedies 1889 | https://example.com/equitable_remedies |
null | Commercial Law | Trade Law | Regulation | International Trade Rules | Rules governing international trade | International | 1,995 | World Trade Organization | WTO Trade Rules 1995 | https://example.com/international_trade_rules |
null | International Law | International Trade | Convention | GATT Agreement | General Agreement on Tariffs and Trade | International | 1,947 | International Court of Justice | GATT Agreement 1947 | https://example.com/gatt_agreement |
null | Contract Law | Employment Contract | Contract | Employee Agreement Template | Standard template for employment contracts | Federal | 2,021 | Labor Court | Employee Agreement 2021 | https://example.com/employee_agreement |
null | ABR Law | Guidelines | Advisory | ABR Compliance Guidelines | Guidelines for ABR compliance | Federal | 2,023 | ABR Authority | ABR Guidelines 2023 | https://example.com/abr_guidelines |
null | Public Law | Constitutional Law | Statute | Constitution Act | Foundation of constitutional law | Federal | 1,867 | Supreme Court | Constitution Act 1867 | https://example.com/constitution_act |
null | State Law | Property Law | Case Law | Land Ownership Case | Key case in property ownership rights | State | 1,987 | State Court | State v. Property Owner | https://example.com/land_case |
null | Common Law | Tort Law | Case Law | Negligence Case | Landmark case establishing negligence principles | Federal | 1,932 | Supreme Court | Donoghue v Stevenson | https://example.com/negligence_case |
null | Commercial Law | Corporate Law | Regulation | Corporate Regulation | Regulations governing corporate activities | Federal | 2,005 | Commerce Commission | Corporate Reg 2005 | https://example.com/corporate_regulation |
null | International Law | Human Rights | Treaty | Universal Declaration of Human Rights | International human rights declaration | International | 1,948 | United Nations | UDHR 1948 | https://example.com/udhr |
null | Contract Law | Service Agreement | Contract | Freelance Work Agreement | Template for freelance work agreements | Federal | 2,022 | Federal Court | Contract Template 2022 | https://example.com/freelance_agreement |
null | ABR Law | Regulation | Regulation | ABR Regulatory Framework | Framework for ABR compliance | Federal | 2,018 | ABR Authority | ABR Reg 2018 | https://example.com/abr_framework |
null | Public Law | Administrative Law | Statute | Administrative Procedure Act | Procedures for administrative actions | Federal | 1,946 | Administrative Court | Administrative Procedure Act 1946 | https://example.com/administrative_procedure |
null | State Law | Criminal Law | Statute | Penal Code | Criminal laws and penalties | State | 1,960 | State Legislature | Penal Code 1960 | https://example.com/penal_code |
null | Common Law | Equity Law | Case Law | Equitable Remedies Case | Leading case on equitable remedies | State | 1,889 | High Court | Equitable Remedies 1889 | https://example.com/equitable_remedies |
null | Commercial Law | Trade Law | Regulation | International Trade Rules | Rules governing international trade | International | 1,995 | World Trade Organization | WTO Trade Rules 1995 | https://example.com/international_trade_rules |
null | International Law | International Trade | Convention | GATT Agreement | General Agreement on Tariffs and Trade | International | 1,947 | International Court of Justice | GATT Agreement 1947 | https://example.com/gatt_agreement |
null | Contract Law | Employment Contract | Contract | Employee Agreement Template | Standard template for employment contracts | Federal | 2,021 | Labor Court | Employee Agreement 2021 | https://example.com/employee_agreement |
null | ABR Law | Guidelines | Advisory | ABR Compliance Guidelines | Guidelines for ABR compliance | Federal | 2,023 | ABR Authority | ABR Guidelines 2023 | https://example.com/abr_guidelines |
null | Public Law | Constitutional Law | Statute | Constitution Act | Foundation of constitutional law | Federal | 1,867 | Supreme Court | null | null |
null | State Law | Property Law | Case Law | Land Ownership Case | Key case in property ownership rights | State | 1,987 | State Court | null | null |
null | Common Law | Tort Law | Case Law | Negligence Case | Landmark case establishing negligence principles | Federal | 1,932 | Supreme Court | null | null |
null | Commercial Law | Corporate Law | Regulation | Corporate Regulation | Regulations governing corporate activities | Federal | 2,005 | Commerce Commission | null | null |
null | International Law | Human Rights | Treaty | Universal Declaration of Human Rights | International human rights declaration | International | 1,948 | United Nations | null | null |
null | Contract Law | Service Agreement | Contract | Freelance Work Agreement | Template for freelance work agreements | Federal | 2,022 | Federal Court | null | null |
null | ABR Law | Regulation | Regulation | ABR Regulatory Framework | Framework for ABR compliance | Federal | 2,018 | ABR Authority | null | null |
null | Public Law | Administrative Law | Statute | Administrative Procedure Act | Procedures for administrative actions | Federal | 1,946 | Administrative Court | null | null |
null | State Law | Criminal Law | Statute | Penal Code | Criminal laws and penalties | State | 1,960 | State Legislature | null | null |
null | Common Law | Equity Law | Case Law | Equitable Remedies Case | Leading case on equitable remedies | State | 1,889 | High Court | null | null |
null | Commercial Law | Trade Law | Regulation | International Trade Rules | Rules governing international trade | International | 1,995 | World Trade Organization | null | null |
null | International Law | International Trade | Convention | GATT Agreement | General Agreement on Tariffs and Trade | International | 1,947 | International Court of Justice | null | null |
null | Contract Law | Employment Contract | Contract | Employee Agreement Template | Standard template for employment contracts | Federal | 2,021 | Labor Court | null | null |
null | ABR Law | Guidelines | Advisory | ABR Compliance Guidelines | Guidelines for ABR compliance | Federal | 2,023 | ABR Authority | null | null |
null | Public Law | Constitutional Law | Statute | Constitution Act | Foundation of constitutional law | Federal | 1,867 | Supreme Court | null | null |
null | State Law | Property Law | Case Law | Land Ownership Case | Key case in property ownership rights | State | 1,987 | State Court | null | null |
null | Common Law | Tort Law | Case Law | Negligence Case | Landmark case establishing negligence principles | Federal | 1,932 | Supreme Court | null | null |
null | Commercial Law | Corporate Law | Regulation | Corporate Regulation | Regulations governing corporate activities | Federal | 2,005 | Commerce Commission | null | null |
null | International Law | Human Rights | Treaty | Universal Declaration of Human Rights | International human rights declaration | International | 1,948 | United Nations | null | null |
null | Contract Law | Service Agreement | Contract | Freelance Work Agreement | Template for freelance work agreements | Federal | 2,022 | Federal Court | null | null |
null | ABR Law | Regulation | Regulation | ABR Regulatory Framework | Framework for ABR compliance | Federal | 2,018 | ABR Authority | null | null |
null | Public Law | Administrative Law | Statute | Administrative Procedure Act | Procedures for administrative actions | Federal | 1,946 | Administrative Court | null | null |
null | State Law | Criminal Law | Statute | Penal Code | Criminal laws and penalties | State | 1,960 | State Legislature | null | null |
null | Common Law | Equity Law | Case Law | Equitable Remedies Case | Leading case on equitable remedies | State | 1,889 | High Court | null | null |
null | Commercial Law | Trade Law | Regulation | International Trade Rules | Rules governing international trade | International | 1,995 | World Trade Organization | null | null |
null | International Law | International Trade | Convention | GATT Agreement | General Agreement on Tariffs and Trade | International | 1,947 | International Court of Justice | null | null |
null | Contract Law | Employment Contract | Contract | Employee Agreement Template | Standard template for employment contracts | Federal | 2,021 | Labor Court | null | null |
null | ABR Law | Guidelines | Advisory | ABR Compliance Guidelines | Guidelines for ABR compliance | Federal | 2,023 | ABR Authority | null | null |
null | Public Law | Constitutional Law | Statute | Constitution Act | Foundation of constitutional law | Federal | 1,867 | Supreme Court | null | null |
null | State Law | Property Law | Case Law | Land Ownership Case | Key case in property ownership rights | State | 1,987 | State Court | null | null |
null | Common Law | Tort Law | Case Law | Negligence Case | Landmark case establishing negligence principles | Federal | 1,932 | Supreme Court | null | null |
null | Commercial Law | Corporate Law | Regulation | Corporate Regulation | Regulations governing corporate activities | Federal | 2,005 | Commerce Commission | null | null |
null | International Law | Human Rights | Treaty | Universal Declaration of Human Rights | International human rights declaration | International | 1,948 | United Nations | null | null |
null | Contract Law | Service Agreement | Contract | Freelance Work Agreement | Template for freelance work agreements | Federal | 2,022 | Federal Court | null | null |
null | ABR Law | Regulation | Regulation | ABR Regulatory Framework | Framework for ABR compliance | Federal | 2,018 | ABR Authority | null | null |
null | Public Law | Administrative Law | Statute | Administrative Procedure Act | Procedures for administrative actions | Federal | 1,946 | Administrative Court | null | null |
null | State Law | Criminal Law | Statute | Penal Code | Criminal laws and penalties | State | 1,960 | State Legislature | null | null |
null | Common Law | Equity Law | Case Law | Equitable Remedies Case | Leading case on equitable remedies | State | 1,889 | High Court | null | null |
null | Commercial Law | Trade Law | Regulation | International Trade Rules | Rules governing international trade | International | 1,995 | World Trade Organization | null | null |
null | International Law | International Trade | Convention | GATT Agreement | General Agreement on Tariffs and Trade | International | 1,947 | International Court of Justice | null | null |
null | Contract Law | Employment Contract | Contract | Employee Agreement Template | Standard template for employment contracts | Federal | 2,021 | Labor Court | null | null |
null | ABR Law | Guidelines | Advisory | ABR Compliance Guidelines | Guidelines for ABR compliance | Federal | 2,023 | ABR Authority | null | null |
null | Public Law | Constitutional Law | Statute | Constitution Act | Foundation of constitutional law | Federal | 1,867 | Supreme Court | Constitution Act 1867 | https://example.com/constitution_act |
null | State Law | Property Law | Case Law | Land Ownership Case | Key case in property ownership rights | State | 1,987 | State Court | State v. Property Owner | https://example.com/land_case |
null | Common Law | Tort Law | Case Law | Negligence Case | Landmark case establishing negligence principles | Federal | 1,932 | Supreme Court | Donoghue v Stevenson | https://example.com/negligence_case |
null | Commercial Law | Corporate Law | Regulation | Corporate Regulation | Regulations governing corporate activities | Federal | 2,005 | Commerce Commission | Corporate Reg 2005 | https://example.com/corporate_regulation |
null | International Law | Human Rights | Treaty | Universal Declaration of Human Rights | International human rights declaration | International | 1,948 | United Nations | UDHR 1948 | https://example.com/udhr |
null | Contract Law | Service Agreement | Contract | Freelance Work Agreement | Template for freelance work agreements | Federal | 2,022 | Federal Court | Contract Template 2022 | https://example.com/freelance_agreement |
null | ABR Law | Regulation | Regulation | ABR Regulatory Framework | Framework for ABR compliance | Federal | 2,018 | ABR Authority | ABR Reg 2018 | https://example.com/abr_framework |
null | Public Law | Administrative Law | Statute | Administrative Procedure Act | Procedures for administrative actions | Federal | 1,946 | Administrative Court | Administrative Procedure Act 1946 | https://example.com/administrative_procedure |
null | State Law | Criminal Law | Statute | Penal Code | Criminal laws and penalties | State | 1,960 | State Legislature | Penal Code 1960 | https://example.com/penal_code |
null | Common Law | Equity Law | Case Law | Equitable Remedies Case | Leading case on equitable remedies | State | 1,889 | High Court | Equitable Remedies 1889 | https://example.com/equitable_remedies |
null | Commercial Law | Trade Law | Regulation | International Trade Rules | Rules governing international trade | International | 1,995 | World Trade Organization | WTO Trade Rules 1995 | https://example.com/international_trade_rules |
null | International Law | International Trade | Convention | GATT Agreement | General Agreement on Tariffs and Trade | International | 1,947 | International Court of Justice | GATT Agreement 1947 | https://example.com/gatt_agreement |
null | Contract Law | Employment Contract | Contract | Employee Agreement Template | Standard template for employment contracts | Federal | 2,021 | Labor Court | Employee Agreement 2021 | https://example.com/employee_agreement |
null | ABR Law | Guidelines | Advisory | ABR Compliance Guidelines | Guidelines for ABR compliance | Federal | 2,023 | ABR Authority | ABR Guidelines 2023 | https://example.com/abr_guidelines |
null | Contract Law | null | null | null | null | null | null | null | null | null |
null | Contract Law | null | null | null | null | null | null | null | null | null |
End of preview.
No dataset card yet
- Downloads last month
- 2