Datasets:

Modalities:
Text
Formats:
parquet
Languages:
Danish
Tags:
legal
Libraries:
Datasets
Dask
License:
File size: 4,481 Bytes
0d9114c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ddc3dcc
 
 
 
 
 
 
 
 
 
0d9114c
ddc3dcc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2025778
ddc3dcc
63e90a2
 
 
 
 
 
ddc3dcc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
---
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](http://huggingface.co/datasets/jasan/kanun#types-of-documents) |
| **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_gl_fo`, `regulation`, `executive_order`, `amending_regulation`, `executive_regulation`, `international_regulation`, `administrative_guidance_1`, `administrative_guidance_2`, `administrative_guidance_change_2`, `tax_guidance`, `guidance`, `annotation`, `letter`, `letter_circular`, `letter_open`, `miscellaneous`, `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`

### **Note about Jurisdiction**

Jurisdiction is often Denmark (DK), but in some cases, it may apply exclusively to Greenland (GL) or the Faroe Islands (FO).

If the jurisdiction is listed as DK, it may include Denmark, Greenland, or the Faroe Islands, depending on the specific title or content.

## **Credit**

Huge thanks to the following individuals for their contributions:

- [**Louis Brulé Naudet**](https://huggingface.co./louisbrulenaudet) 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**](https://github.com/darth-raijin) for teaching me how to build great pipelines with an emphasis on observability.
- [**Mikail Yilmaz**](https://github.com/mikailyilmaz00) for his support and insights.

### **Citation**

```
@misc{kanun2025dataset,
  title={Kanun},
  author={Jasan Farah},
  year={2025},
  url{https://huggingface.co./datasets/jasan/kanun},
}
```

### **Licensing**

[Danish Copyright law](https://www.retsinformation.dk/eli/lta/2014/1144)