The code associated with publication 'Earth Observation based multi-scale analysis of crop diversity in the European Union: first insights for agro-environmental policies' is currently undergoing an internal review, including an intellectual property (IP) clearance process. We anticipate making the code available upon the completion of this review. In the meantime, should you require access to the code or have any inquiries, please do not hesitate to contact Mélissande Machefer via email at Melissande.machefer@ec.europa.eu. We appreciate your interest and thank you for your understanding.