dataset_info:
features:
- name: uuid
dtype: string
- name: jurisdiction
dtype: string
- name: language
dtype: string
- name: type
dtype: string
- name: status
dtype: string
- name: title_main
dtype: string
- name: title_alternative
dtype: string
- name: text
dtype: string
- name: source_url
dtype: string
- name: source
dtype: string
- name: hash
dtype: string
- name: date_publication
dtype: string
- name: date_signature
dtype: string
- name: version_date
dtype: string
splits:
- name: train
num_bytes: 7040945732
num_examples: 105240
download_size: 1517564592
dataset_size: 7040945732
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
license: other
license_name: danish-copyright-law
license_link: https://www.retsinformation.dk/eli/lta/2014/1144
language:
- da
tags:
- legal
pretty_name: kanun
size_categories:
- 100K<n<1M
👨🏼⚖️ Kanun
A collection of Danish legal texts from retsinformation.dk.
Structure
Column | Description |
---|---|
uuid | A universally unique identifier for each row in the dataset. |
jurisdiction | Capitalized ISO 3166-1 alpha-2 code representing the country or jurisdiction. |
language | Non-capitalized ISO 639-1 code representing the language of the document. |
type | Type of the document (e.g., legislative act, amending act, consolidated act, etc.). See the types here |
status | Represents the document’s current validity status: valid or historic . |
title_main | The title of the document. |
title_alternative | The popular name for the document (if there is one). |
text | Text content of the document. |
source_url | The source URL of the web page where the document is published. |
source | The origin of the document, currently only retsinformation . |
hash | A SHA-256 hash of the HTML. |
date_publication | The date when the document was published. |
date_signature | The date when the document was signed. |
version_date | The version date of when the document was scraped. |
Types of Documents
legislative_act
, amending_act
, consolidated_act
, data_consolidation
, official_publication
, implementing_act
, implementing_measure
, implementing_measure_gl_fo
, regulation
, executive_order
, amending_regulation
, executive_regulation
, international_regulation
, administrative_guidance_1
, administrative_guidance_2
, administrative_guidance_change_1
, administrative_guidance_change_2
, tax_guidance
, guidance
, annotation
, letter
, letter_circular
, letter_open
, miscellaneous
, written_submission
, bill_as_presented
, written_submission_of_bill
, report_on_bill
, addition_to_report
, report_on_bill_details
, amendment_second_reading_l
, supplementary_report_on_bill
, addition_to_supplementary_report
, amendment_third_reading
, bill_as_passed
, independent_report
, resolution_proposal_as_presented
, written_submission_of_resolution
, report_on_resolution_proposal
, report_on_resolution_details
, amendment_second_reading_b
, resolution_proposal_as_passed
, decision
, final_administrative_decision
, statement
, court_judgment
, commentary
Credit
Huge thanks to the following individuals for their contributions:
Louis Brulé Naudet for his work on HFforLegal. The structure of nearly every column in this dataset mirrors his.
Naudet, L. B. (2024). The Laws, centralizing legal texts for better use. Hugging Face. https://huggingface.co./datasets/HFforLegal/laws
Mohammed Macow for teaching me how to build great pipelines with an emphasis on observability.
Mikail Yilmaz for his support and insights.
Citation
@misc{kanun2025dataset,
title={Kanun},
author={Jasan Farah},
year={2025},
url{https://huggingface.co./datasets/jasan/kanun},
}