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 des douanes
tags:
- finetuning
- legal
- french law
- droit français
- Code des douanes
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: 1282260
num_examples: 494
download_size: 485022
dataset_size: 1282260
Code des douanes, non-instruct (2024-11-03)
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
To use all the legal data published on LegalKit, you can use RAGoon:
pip3 install ragoon
Then, you can load multiple datasets using this code snippet:
# -*- 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.
Basic Information
ref
(string): Reference - A reference to the article, combining the title_main and the articlenumber
(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").
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.
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.
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.
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.
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.
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.