File size: 8,373 Bytes
44ffa76
54867ac
 
620617f
54867ac
 
620617f
 
54867ac
 
 
 
 
 
ac723ae
 
 
620617f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44ffa76
7cec774
44ffa76
f3097a7
54867ac
f3097a7
54867ac
f3097a7
54867ac
f3097a7
54867ac
f3097a7
 
 
 
54867ac
f3097a7
1312980
 
 
f3097a7
1312980
 
 
 
 
 
 
 
 
f3097a7
1312980
 
 
 
 
 
 
f3097a7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54867ac
 
 
 
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
---
language:
- fr
license: apache-2.0
multilinguality:
- monolingual
size_categories:
- 1K<n<10K
source_datasets:
- original
task_categories:
- text-generation
- table-question-answering
- summarization
- text-retrieval
- question-answering
- text-classification
pretty_name: Code de la mutualité
tags:
- finetuning
- legal
- french law
- droit français
- Code de la mutualité
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
dataset_info:
  features:
  - name: ref
    dtype: string
  - name: title_main
    dtype: string
  - name: texte
    dtype: string
  - name: dateDebut
    dtype: int64
  - name: dateFin
    dtype: int64
  - name: num
    dtype: string
  - name: id
    dtype: string
  - name: cid
    dtype: string
  - name: type
    dtype: string
  - name: etat
    dtype: string
  - name: nota
    dtype: string
  - name: version_article
    dtype: string
  - name: ordre
    dtype: int64
  - name: conditionDiffere
    dtype: 'null'
  - name: infosComplementaires
    dtype: 'null'
  - name: surtitre
    dtype: 'null'
  - name: nature
    dtype: string
  - name: texteHtml
    dtype: string
  - name: dateFinExtension
    dtype: int64
  - name: versionPrecedente
    dtype: string
  - name: refInjection
    dtype: string
  - name: idTexte
    dtype: 'null'
  - name: idTechInjection
    dtype: string
  - name: origine
    dtype: string
  - name: dateDebutExtension
    dtype: int64
  - name: idEliAlias
    dtype: 'null'
  - name: cidTexte
    dtype: 'null'
  - name: sectionParentId
    dtype: string
  - name: multipleVersions
    dtype: bool
  - name: comporteLiensSP
    dtype: bool
  - name: sectionParentTitre
    dtype: string
  - name: infosRestructurationBranche
    dtype: 'null'
  - name: idEli
    dtype: 'null'
  - name: sectionParentCid
    dtype: string
  - name: numeroBo
    dtype: 'null'
  - name: infosRestructurationBrancheHtml
    dtype: 'null'
  - name: historique
    dtype: 'null'
  - name: infosComplementairesHtml
    dtype: 'null'
  - name: renvoi
    dtype: 'null'
  - name: fullSectionsTitre
    dtype: string
  - name: notaHtml
    dtype: string
  - name: inap
    dtype: 'null'
  splits:
  - name: train
    num_bytes: 1795297
    num_examples: 526
  download_size: 621908
  dataset_size: 1795297
---
# Code de la mutualité, non-instruct (2024-09-29)

The objective of this project is to provide researchers, professionals and law students with simplified, up-to-date access to all French legal texts, enriched with a wealth of data to facilitate their integration into Community and European projects.

Normally, the data is refreshed daily on all legal codes, and aims to simplify the production of training sets and labeling pipelines for the development of free, open-source language models based on open data accessible to all.

## Concurrent reading of the LegalKit

[<img src="https://raw.githubusercontent.com/louisbrulenaudet/ragoon/main/assets/badge.svg" alt="Built with RAGoon" width="200" height="32"/>](https://github.com/louisbrulenaudet/ragoon)

To use all the legal data published on LegalKit, you can use RAGoon:
```bash
pip3 install ragoon
```

Then, you can load multiple datasets using this code snippet:

```python
# -*- coding: utf-8 -*-
from ragoon import load_datasets

req = [
    "louisbrulenaudet/code-artisanat",
    "louisbrulenaudet/code-action-sociale-familles",
    # ...
]

datasets_list = load_datasets(
    req=req,
    streaming=False
)

dataset = datasets.concatenate_datasets(
    datasets_list
)
```

### Data Structure for Article Information

This section provides a detailed overview of the elements contained within the `item` dictionary. Each key represents a specific attribute of the legal article, with its associated value providing detailed information.

1. **Basic Information**
   - `ref` (string): **Reference** - A reference to the article, combining the title_main and the article `number` (e.g., "Code Général des Impôts, art. 123").
   - `texte` (string): **Text Content** - The textual content of the article.
   - `dateDebut` (string): **Start Date** - The date when the article came into effect.
   - `dateFin` (string): **End Date** - The date when the article was terminated or superseded.
   - `num` (string): **Article Number** - The number assigned to the article.
   - `id` (string): **Article ID** - Unique identifier for the article.
   - `cid` (string): **Chronical ID** - Chronical identifier for the article.
   - `type` (string): **Type** - The type or classification of the document (e.g., "AUTONOME").
   - `etat` (string): **Legal Status** - The current legal status of the article (e.g., "MODIFIE_MORT_NE").

2. **Content and Notes**
   - `nota` (string): **Notes** - Additional notes or remarks associated with the article.
   - `version_article` (string): **Article Version** - The version number of the article.
   - `ordre` (integer): **Order Number** - A numerical value used to sort articles within their parent section.

3. **Additional Metadata**
   - `conditionDiffere` (string): **Deferred Condition** - Specific conditions related to collective agreements.
   - `infosComplementaires` (string): **Additional Information** - Extra information pertinent to the article.
   - `surtitre` (string): **Subtitle** - A subtitle or additional title information related to collective agreements.
   - `nature` (string): **Nature** - The nature or category of the document (e.g., "Article").
   - `texteHtml` (string): **HTML Content** - The article's content in HTML format.

4. **Versioning and Extensions**
   - `dateFinExtension` (string): **End Date of Extension** - The end date if the article has an extension.
   - `versionPrecedente` (string): **Previous Version** - Identifier for the previous version of the article.
   - `refInjection` (string): **Injection Reference** - Technical reference to identify the date of injection.
   - `idTexte` (string): **Text ID** - Identifier for the legal text to which the article belongs.
   - `idTechInjection` (string): **Technical Injection ID** - Technical identifier for the injected element.

5. **Origin and Relationships**
   - `origine` (string): **Origin** - The origin of the document (e.g., "LEGI").
   - `dateDebutExtension` (string): **Start Date of Extension** - The start date if the article has an extension.
   - `idEliAlias` (string): **ELI Alias** - Alias for the European Legislation Identifier (ELI).
   - `cidTexte` (string): **Text Chronical ID** - Chronical identifier of the text.

6. **Hierarchical Relationships**
   - `sectionParentId` (string): **Parent Section ID** - Technical identifier of the parent section.
   - `multipleVersions` (boolean): **Multiple Versions** - Indicates if the article has multiple versions.
   - `comporteLiensSP` (boolean): **Contains Public Service Links** - Indicates if the article contains links to public services.
   - `sectionParentTitre` (string): **Parent Section Title** - Title of the parent section (e.g., "I : Revenu imposable").
   - `infosRestructurationBranche` (string): **Branch Restructuring Information** - Information about branch restructuring.
   - `idEli` (string): **ELI ID** - European Legislation Identifier (ELI) for the article.
   - `sectionParentCid` (string): **Parent Section Chronical ID** - Chronical identifier of the parent section.

7. **Additional Content and History**
   - `numeroBo` (string): **Official Bulletin Number** - Number of the official bulletin where the article was published.
   - `infosRestructurationBrancheHtml` (string): **Branch Restructuring Information (HTML)** - Branch restructuring information in HTML format.
   - `historique` (string): **History** - Historical context or changes specific to collective agreements.
   - `infosComplementairesHtml` (string): **Additional Information (HTML)** - Additional information in HTML format.
   - `renvoi` (string): **Reference** - References to content within the article (e.g., "(1)").
   - `fullSectionsTitre` (string): **Full Section Titles** - Concatenation of all titles in the parent chain.
   - `notaHtml` (string): **Notes (HTML)** - Additional notes or remarks in HTML format.
   - `inap` (string): **INAP** - A placeholder for INAP-specific information.

## Feedback

If you have any feedback, please reach out at [louisbrulenaudet@icloud.com](mailto:louisbrulenaudet@icloud.com).