An R function to scrape data on EU laws (scRapEU)
Description
This project presents an easy to use R function to automatically download key data and textual information on EU laws from the European Parliament’s Legislative Observatory and EUR-Lex websites.
It downloads most of the information available on the procedure page, complements it with data from the EUR-Lex website, and stores it in a dataframe that can subsequently be saved by the user in the preferred format (see documentation).
Usage
The raw script can be downloaded from this link otherwise it can be accessed directly from the R workspace as per the instructions in the documentation.
A minimal report about the information extracted can be found here.
An updated version of the dataset with the procedures from 1994 onwards is available upon request.
Citation
The raw code is publicly accessible and free to download, adapt, and use. However, I would be grateful if you could acknowledge the use of the original code as follows:
Scotto di Vettimo, M. (2022), ‘‘scRapEU: An R function to scrape data on EU laws’’. Version April 2024. DOI: 10.5281/zenodo.10871232.