license: eupl-1.2
tags:
- legal
🇪🇺 EU-RLEX Legislation Dataset (Collected Until June 20, 2025)
📘 Overview
This dataset provides structured and accessible European Union legislation data collected from EUR-Lex up to June 20, 2025. It is maintained by GFOSS – Open Technologies Alliance to support open legal data research, machine learning applications, and transparency initiatives.
The dataset includes:
- Metadata in a structured Parquet file
- Full-text content of legislation documents in Markdown format
📁 Dataset Structure
1. eurlex_legislation_data.parquet
A table containing metadata for each legislation document.
Columns:
title: Title of the legislationdocument_link: URL to the official document or PDFel_html_link: Link to the HTML version on EUR-Lexcategory_id: Category idcategory_title: Title of categorycategory_acts_count: number of acts that belong to this category
🧠 Note: The row index matches each corresponding Markdown file (e.g., row 0 →
md_0.md).
2. Markdown Files (md_*.md)
Each file contains the cleaned full text of a single legislation document, converted from HTML.
- Naming format:
md_0.md,md_1.md, ...,md_N.md - One-to-one mapping with rows in
metadata.parquet
3. 📊 Dataset Statistics
- Total tokens: 604032339
- Uncompressed size: 2.21GB
- Words Count: 137750006
🔓 License & Usage
This dataset is open and free to use under the terms of EUR-Lex’s Legal Notice. Please attribute EUR-Lex as the original source.
Published by: GFOSS – Open Technologies Alliance
🙌 Acknowledgements
Special thanks to the Publications Office of the European Union for making this data publicly available via the EUR-Lex portal.