--- extra_gated_prompt: Please provide the following details to gain access to this dataset. extra_gated_fields: Description of your project: text Project / Team / Company URL: text 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](https://eur-lex.europa.eu/) 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 legislation - `document_link`: URL to the official document or PDF - `el_html_link`: Link to the HTML version on EUR-Lex - `category_id`: Category id - `category_title`: Title of category - `category_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](https://eur-lex.europa.eu/content/legal-notice/legal-notice.html). 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](https://eur-lex.europa.eu/). **Gated Access** This dataset is distributed through Hugging Face's gated access mechanism. To request access, please provide a brief description of your project and, where applicable, a project, repository, or company URL. By requesting access to this dataset, you acknowledge that the dataset maintainers may contact you regarding your access request and matters directly related to the administration, maintenance, security, responsible use, and licensing of the dataset, where necessary and in accordance with applicable data protection laws.