File size: 6,512 Bytes
70f26cb
15b6067
bc5471d
 
 
 
15b6067
 
 
 
 
 
bc5471d
 
15b6067
bc5471d
 
 
 
6fca7fc
 
 
15b6067
 
70f26cb
1875b2c
70f26cb
e76692a
bc5471d
e76692a
bc5471d
e76692a
bc5471d
e76692a
bc5471d
e76692a
 
 
 
bc5471d
e76692a
0d247cc
 
 
e76692a
0d247cc
 
 
 
 
 
 
 
 
e76692a
0d247cc
 
 
 
 
 
 
e76692a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bc5471d
 
 
 
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
---
license: apache-2.0
language:
- fr
multilinguality:
- monolingual
tags:
- finetuning
- legal
- french law
- droit français
- Code rural et de la pêche maritime
source_datasets:
- original
pretty_name: Code rural et de la pêche maritime
task_categories:
- text-generation
- table-question-answering
- summarization
- text-retrieval
- question-answering
- text-classification
size_categories:
- 1K<n<10K
---
# Code rural et de la pêche maritime, non-instruct (2024-11-27)

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).