Dataset Viewer
The dataset viewer is not available for this subset.
Cannot get the split names for the config 'default' of the dataset.
Exception:    SplitsNotFoundError
Message:      The split names could not be parsed from the dataset config.
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 299, in get_dataset_config_info
                  for split_generator in builder._split_generators(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/parquet/parquet.py", line 60, in _split_generators
                  self.info.features = datasets.Features.from_arrow_schema(pq.read_schema(f))
                File "/src/services/worker/.venv/lib/python3.9/site-packages/pyarrow/parquet/core.py", line 2325, in read_schema
                  file = ParquetFile(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/pyarrow/parquet/core.py", line 318, in __init__
                  self.reader.open(
                File "pyarrow/_parquet.pyx", line 1470, in pyarrow._parquet.ParquetReader.open
                File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status
              pyarrow.lib.ArrowInvalid: Parquet magic bytes not found in footer. Either the file is corrupted or this is not a parquet file.
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 65, in compute_split_names_from_streaming_response
                  for split in get_dataset_split_names(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 353, in get_dataset_split_names
                  info = get_dataset_config_info(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 304, in get_dataset_config_info
                  raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
              datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

πŸ‡ͺπŸ‡Ί 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. metadata.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: Document type or legislative 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

πŸ”“ 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.

Downloads last month
4