---
type: "Source File"
title: "\"\"\"Seed data for 27 EU member states + initial laws + institutions.\"\"\""
description: "\"\"\"Seed data for 27 EU member states + initial laws + institutions.\"\"\" EU_COUNTRIES = [ {\"code\": \"DE\", \"name\": \"Germany\", \"flag\": \"🇩🇪\", \"leader_name\": \"Friedrich Merz\", \"leader_title\": \"Chancellor\", \"eu_join_year\"."
resource: "https://eu.copecheck.com"
tags: ["copecheck", "eu", "source-file", "py"]
timestamp: "2026-04-29T21:45:07Z"
site: "eu"
source_path: "copecheck-eu/seed_data.py"
---

# """Seed data for 27 EU member states + initial laws + institutions."""

Source path: `copecheck-eu/seed_data.py`  
Index snapshot generated: `2026-11-24T13:27:52Z`  
File modified: `2026-04-29T21:45:07Z`

```py
"""Seed data for 27 EU member states + initial laws + institutions."""

EU_COUNTRIES = [
    {"code": "DE", "name": "Germany", "flag": "🇩🇪", "leader_name": "Friedrich Merz", "leader_title": "Chancellor", "eu_join_year": 1957, "economy_type": "Industrial/Export", "key_sectors": "Automotive, machinery, chemicals, finance", "population_m": 84.4, "median_age": 45.7},
    {"code": "FR", "name": "France", "flag": "🇫🇷", "leader_name": "Emmanuel Macron", "leader_title": "President", "eu_join_year": 1957, "economy_type": "Mixed/Services", "key_sectors": "Aerospace, luxury, agriculture, finance, tourism", "population_m": 68.2, "median_age": 42.3},
    {"code": "IT", "name": "Italy", "flag": "🇮🇹", "leader_name": "Giorgia Meloni", "leader_title": "Prime Minister", "eu_join_year": 1957, "economy_type": "Industrial/Services", "key_sectors": "Fashion, automotive, food, tourism, machinery", "population_m": 58.9, "median_age": 48.4},
    {"code": "ES", "name": "Spain", "flag": "🇪🇸", "leader_name": "Pedro Sánchez", "leader_title": "Prime Minister", "eu_join_year": 1986, "economy_type": "Services", "key_sectors": "Tourism, agriculture, automotive, renewables", "population_m": 48.1, "median_age": 45.5},
    {"code": "PL", "name": "Poland", "flag": "🇵🇱", "leader_name": "Donald Tusk", "leader_title": "Prime Minister", "eu_join_year": 2004, "economy_type": "Industrial/Services", "key_sectors": "Automotive parts, IT outsourcing, agriculture, logistics", "population_m": 37.7, "median_age": 42.4},
    {"code": "RO", "name": "Romania", "flag": "🇷🇴", "leader_name": "Marcel Ciolacu", "leader_title": "Prime Minister", "eu_join_year": 2007, "economy_type": "Mixed/Emerging", "key_sectors": "IT outsourcing, automotive, agriculture, textiles", "population_m": 19.0, "median_age": 43.9},
    {"code": "NL", "name": "Netherlands", "flag": "🇳🇱", "leader_name": "Dick Schoof", "leader_title": "Prime Minister", "eu_join_year": 1957, "economy_type": "Services/Trade", "key_sectors": "Logistics, finance, agriculture, tech, chemicals", "population_m": 17.9, "median_age": 42.8},
    {"code": "BE", "name": "Belgium", "flag": "🇧🇪", "leader_name": "Bart De Wever", "leader_title": "Prime Minister", "eu_join_year": 1957, "economy_type": "Services/Industrial", "key_sectors": "Chemicals, pharmaceuticals, logistics, EU institutions", "population_m": 11.7, "median_age": 41.6},
    {"code": "CZ", "name": "Czechia", "flag": "🇨🇿", "leader_name": "Petr Fiala", "leader_title": "Prime Minister", "eu_join_year": 2004, "economy_type": "Industrial/Export", "key_sectors": "Automotive, machinery, electronics, beer", "population_m": 10.9, "median_age": 43.7},
    {"code": "GR", "name": "Greece", "flag": "🇬🇷", "leader_name": "Kyriakos Mitsotakis", "leader_title": "Prime Minister", "eu_join_year": 1981, "economy_type": "Services", "key_sectors": "Tourism, shipping, agriculture, services", "population_m": 10.4, "median_age": 46.5},
    {"code": "PT", "name": "Portugal", "flag": "🇵🇹", "leader_name": "Luís Montenegro", "leader_title": "Prime Minister", "eu_join_year": 1986, "economy_type": "Services/Mixed", "key_sectors": "Tourism, textiles, cork, tech startups", "population_m": 10.3, "median_age": 46.8},
    {"code": "SE", "name": "Sweden", "flag": "🇸🇪", "leader_name": "Ulf Kristersson", "leader_title": "Prime Minister", "eu_join_year": 1995, "economy_type": "Industrial/Innovation", "key_sectors": "Tech, automotive, forestry, mining, pharma", "population_m": 10.5, "median_age": 41.1},
    {"code": "HU", "name": "Hungary", "flag": "🇭🇺", "leader_name": "Viktor Orbán", "leader_title": "Prime Minister", "eu_join_year": 2004, "economy_type": "Industrial/Export", "key_sectors": "Automotive, electronics, pharmaceuticals, agriculture", "population_m": 9.6, "median_age": 43.6},
    {"code": "AT", "name": "Austria", "flag": "🇦🇹", "leader_name": "Herbert Kickl", "leader_title": "Chancellor", "eu_join_year": 1995, "economy_type": "Services/Industrial", "key_sectors": "Tourism, machinery, automotive, finance", "population_m": 9.1, "median_age": 44.5},
    {"code": "BG", "name": "Bulgaria", "flag": "🇧🇬", "leader_name": "Dimitar Glavchev", "leader_title": "Prime Minister", "eu_join_year": 2007, "economy_type": "Mixed/Emerging", "key_sectors": "IT outsourcing, agriculture, mining, tourism", "population_m": 6.4, "median_age": 45.2},
    {"code": "DK", "name": "Denmark", "flag": "🇩🇰", "leader_name": "Mette Frederiksen", "leader_title": "Prime Minister", "eu_join_year": 1973, "economy_type": "Services/Innovation", "key_sectors": "Pharma, wind energy, shipping, agriculture, design", "population_m": 5.9, "median_age": 42.0},
    {"code": "FI", "name": "Finland", "flag": "🇫🇮", "leader_name": "Petteri Orpo", "leader_title": "Prime Minister", "eu_join_year": 1995, "economy_type": "Industrial/Innovation", "key_sectors": "Tech, forestry, machinery, gaming", "population_m": 5.6, "median_age": 43.6},
    {"code": "SK", "name": "Slovakia", "flag": "🇸🇰", "leader_name": "Robert Fico", "leader_title": "Prime Minister", "eu_join_year": 2004, "economy_type": "Industrial/Export", "key_sectors": "Automotive, electronics, steel", "population_m": 5.4, "median_age": 41.7},
    {"code": "IE", "name": "Ireland", "flag": "🇮🇪", "leader_name": "Micheál Martin", "leader_title": "Taoiseach", "eu_join_year": 1973, "economy_type": "Services/FDI", "key_sectors": "Tech HQs, pharma, finance, agriculture", "population_m": 5.3, "median_age": 38.8},
    {"code": "HR", "name": "Croatia", "flag": "🇭🇷", "leader_name": "Andrej Plenković", "leader_title": "Prime Minister", "eu_join_year": 2013, "economy_type": "Services", "key_sectors": "Tourism, shipbuilding, food, IT outsourcing", "population_m": 3.8, "median_age": 44.3},
    {"code": "LT", "name": "Lithuania", "flag": "🇱🇹", "leader_name": "Gintautas Paluckas", "leader_title": "Prime Minister", "eu_join_year": 2004, "economy_type": "Services/Mixed", "key_sectors": "Fintech, laser tech, food, furniture, IT", "population_m": 2.9, "median_age": 44.6},
    {"code": "SI", "name": "Slovenia", "flag": "🇸🇮", "leader_name": "Robert Golob", "leader_title": "Prime Minister", "eu_join_year": 2004, "economy_type": "Industrial/Mixed", "key_sectors": "Automotive, pharma, electronics, tourism", "population_m": 2.1, "median_age": 44.9},
    {"code": "LV", "name": "Latvia", "flag": "🇱🇻", "leader_name": "Evika Siliņa", "leader_title": "Prime Minister", "eu_join_year": 2004, "economy_type": "Services/Mixed", "key_sectors": "Forestry, food, IT, transit, fintech", "population_m": 1.8, "median_age": 44.4},
    {"code": "EE", "name": "Estonia", "flag": "🇪🇪", "leader_name": "Kristen Michal", "leader_title": "Prime Minister", "eu_join_year": 2004, "economy_type": "Digital/Services", "key_sectors": "e-Government, fintech, IT, forestry", "population_m": 1.4, "median_age": 42.7},
    {"code": "CY", "name": "Cyprus", "flag": "🇨🇾", "leader_name": "Nikos Christodoulides", "leader_title": "President", "eu_join_year": 2004, "economy_type": "Services", "key_sectors": "Tourism, shipping, finance, real estate", "population_m": 1.3, "median_age": 38.1},
    {"code": "LU", "name": "Luxembourg", "flag": "🇱🇺", "leader_name": "Luc Frieden", "leader_title": "Prime Minister", "eu_join_year": 1957, "economy_type": "Finance/Services", "key_sectors": "Banking, fund management, EU institutions, steel", "population_m": 0.66, "median_age": 39.5},
    {"code": "MT", "name": "Malta", "flag": "🇲🇹", "leader_name": "Robert Abela", "leader_title": "Prime Minister", "eu_join_year": 2004, "economy_type": "Services", "key_sectors": "iGaming, tourism, finance, maritime", "population_m": 0.54, "median_age": 42.3},
]


EU_LAWS = [
    {
        "celex_id": "32024R1689",
        "title": "EU AI Act (Regulation 2024/1689)",
        "law_type": "regulation",
        "status": "in_force",
        "date_adopted": "2024-06-13",
        "summary": "World's first comprehensive AI regulation. Risk-based framework classifying AI systems into unacceptable, high-risk, limited, and minimal risk. Bans social scoring and real-time biometric surveillance (with exceptions). Requires transparency for AI-generated content. High-risk AI must have human oversight, documentation, and conformity assessments. Does NOT address job displacement, unit labour costs, or economic restructuring. Focused entirely on safety/rights, not economic impact.",
        "full_text_url": "https://eur-lex.europa.eu/eli/reg/2024/1689"
    },
    {
        "celex_id": "32022R1925",
        "title": "Digital Markets Act (DMA)",
        "law_type": "regulation",
        "status": "in_force",
        "date_adopted": "2022-09-14",
        "summary": "Targets Big Tech 'gatekeepers' (Apple, Google, Meta, Amazon, Microsoft, ByteDance). Requires interoperability, bans self-preferencing, mandates data portability. Fines up to 10% of global turnover. Focused on market competition, not labour displacement. Assumes competitive markets = good outcomes, ignoring that these platforms are automating the very jobs their ecosystems once supported.",
        "full_text_url": "https://eur-lex.europa.eu/eli/reg/2022/1925"
    },
    {
        "celex_id": "32022R2065",
        "title": "Digital Services Act (DSA)",
        "law_type": "regulation",
        "status": "in_force",
        "date_adopted": "2022-10-19",
        "summary": "Platform liability and content moderation rules. Very Large Online Platforms must assess systemic risks, enable algorithmic transparency, cooperate with regulators. Focused on content safety, disinformation, consumer protection. Does not address how platform automation eliminates content moderation jobs, customer service roles, and media employment.",
        "full_text_url": "https://eur-lex.europa.eu/eli/reg/2022/2065"
    },
    {
        "celex_id": "32024L2831",
        "title": "Platform Workers Directive",
        "law_type": "directive",
        "status": "in_force",
        "date_adopted": "2024-10-14",
        "summary": "Establishes rules to determine employment status of platform workers (Uber, Deliveroo, etc.). Presumption of employment relationship. Regulates algorithmic management — workers must be informed about automated decision-making. Member states must transpose by Dec 2026. The irony: regulating gig work while AI is about to make gig workers redundant too.",
        "full_text_url": "https://eur-lex.europa.eu/eli/dir/2024/2831"
    },
    {
        "celex_id": "32016R0679",
        "title": "General Data Protection Regulation (GDPR)",
        "law_type": "regulation",
        "status": "in_force",
        "date_adopted": "2016-04-27",
        "summary": "The EU's landmark data protection law. Right to be forgotten, consent requirements, data portability, DPO requirements. Art. 22 gives right not to be subject to fully automated decisions. Massive compliance industry created. Irony: GDPR compliance is itself being automated by AI, eliminating the jobs it created. Also, Art. 22 'right to human review' becomes meaningless when the human reviewer is also being replaced.",
        "full_text_url": "https://eur-lex.europa.eu/eli/reg/2016/679"
    },
    {
        "celex_id": "32019R1150",
        "title": "Platform-to-Business (P2B) Regulation",
        "law_type": "regulation",
        "status": "in_force",
        "date_adopted": "2019-06-20",
        "summary": "Transparency rules for online platforms dealing with business users. Platforms must explain ranking algorithms, provide complaint mechanisms, disclose data practices. Aimed at protecting SMEs from platform power. Does not address that AI is automating the SMEs themselves.",
        "full_text_url": "https://eur-lex.europa.eu/eli/reg/2019/1150"
    },
    {
        "celex_id": "32024R1183",
        "title": "European Digital Identity (eIDAS 2.0)",
        "law_type": "regulation",
        "status": "in_force",
        "date_adopted": "2024-03-11",
        "summary": "EU Digital Identity Wallet for all citizens by 2026. Cross-border digital identity, electronic signatures, trust services. Enables fully automated verification — removing the need for human identity verification roles across banking, government, and services.",
        "full_text_url": "https://eur-lex.europa.eu/eli/reg/2024/1183"
    },
    {
        "celex_id": "32023R2854",
        "title": "Data Act",
        "law_type": "regulation",
        "status": "in_force",
        "date_adopted": "2023-12-13",
        "summary": "Rules on fair access to and use of data generated by IoT devices and cloud services. Users can access their own device data, switch cloud providers, and share data with third parties. Government can access private data in emergencies. Aims to unlock EU data economy. Creates more data for AI training while pretending this doesn't accelerate the displacement of the workers whose data is being commoditised.",
        "full_text_url": "https://eur-lex.europa.eu/eli/reg/2023/2854"
    },
    {
        "celex_id": "32000L0078",
        "title": "Employment Equality Directive",
        "law_type": "directive",
        "status": "in_force",
        "date_adopted": "2000-11-27",
        "summary": "Prohibits workplace discrimination on grounds of religion, disability, age, sexual orientation. Framework directive with national transposition. Written in 2000 when the assumption was that workplaces would continue to exist. Does not address algorithmic discrimination or AI hiring/firing. Being 'equal' in a labour market that's being liquidated is cope.",
        "full_text_url": "https://eur-lex.europa.eu/eli/dir/2000/78"
    },
    {
        "celex_id": "32001L0023",
        "title": "Transfer of Undertakings Directive (TUPE)",
        "law_type": "directive",
        "status": "in_force",
        "date_adopted": "2001-03-12",
        "summary": "Protects employee rights when a business is transferred to a new employer. Workers keep their contracts, conditions, and seniority. Does not cover situations where the 'transfer' is to an AI system. When a company replaces a department with software, there is no 'undertaking' to transfer — the jobs simply cease to exist.",
        "full_text_url": "https://eur-lex.europa.eu/eli/dir/2001/23"
    },
    {
        "celex_id": "32009L0038",
        "title": "European Works Council Directive",
        "law_type": "directive",
        "status": "in_force",
        "date_adopted": "2009-05-06",
        "summary": "Requires companies with 1000+ employees across 2+ EU states to establish European Works Councils for information and consultation. Consultation required for 'restructuring.' AI-driven gradual role elimination typically falls below the threshold for formal consultation — the sorites problem in corporate form.",
        "full_text_url": "https://eur-lex.europa.eu/eli/dir/2009/38"
    },
    {
        "celex_id": "32022R0868",
        "title": "Data Governance Act",
        "law_type": "regulation",
        "status": "in_force",
        "date_adopted": "2022-05-30",
        "summary": "Framework for data sharing and reuse across the EU. Creates data intermediaries, data altruism organisations, European Data Innovation Board. Aims to create trustworthy data sharing. More data flowing = more AI training = more automation. The EU is building the infrastructure for its own labour market liquidation while calling it 'innovation.'",
        "full_text_url": "https://eur-lex.europa.eu/eli/reg/2022/868"
    },
]


EU_INSTITUTIONS = [
    {
        "name": "European Commission",
        "inst_type": "executive",
        "head_name": "Ursula von der Leyen",
        "head_title": "President",
        "description": "The EU's executive branch. Proposes legislation, enforces treaties, manages budgets. Published the AI Act, Digital Decade strategy, and various 'AI for Good' communications while simultaneously promoting digital transformation that accelerates displacement."
    },
    {
        "name": "European Parliament",
        "inst_type": "legislative",
        "head_name": "Roberta Metsola",
        "head_title": "President",
        "description": "Directly elected EU legislature. Co-decides on legislation with the Council. Passed the AI Act. Individual MEPs occasionally raise displacement concerns but institutional position remains firmly in 'AI creates opportunities' territory."
    },
    {
        "name": "European Central Bank",
        "inst_type": "monetary",
        "head_name": "Christine Lagarde",
        "head_title": "President",
        "description": "Manages the euro and monetary policy for 20 eurozone members. Publishes research acknowledging AI's impact on labour but monetary policy cannot address structural displacement. Still models employment using pre-AI assumptions."
    },
    {
        "name": "European Council",
        "inst_type": "intergovernmental",
        "head_name": "António Costa",
        "head_title": "President",
        "description": "Heads of state/government setting EU political direction. Where the real prisoner's dilemma plays out — each leader incentivised to attract AI investment for their country while collectively agreeing to regulate it."
    },
    {
        "name": "Eurostat",
        "inst_type": "statistical",
        "head_name": "Paula Leitão",
        "head_title": "Director-General",
        "description": "The EU's statistical office. Publishes the numbers that reveal the cope. Youth unemployment, migration flows, unit labour costs, demographic projections. The data is there — it's the framing that copes."
    },
]


def seed_all():
    """Seed all initial data."""
    import db

    db.init_db()

    print("Seeding 27 EU member states...")
    for c in EU_COUNTRIES:
        db.upsert_country(c)
        print(f"  {c['flag']} {c['name']}")

    print(f"\nSeeding {len(EU_LAWS)} EU laws...")
    for law in EU_LAWS:
        db.upsert_law(law)
        print(f"  {law['title']}")

    print(f"\nSeeding {len(EU_INSTITUTIONS)} institutions...")
    for inst in EU_INSTITUTIONS:
        db.upsert_institution(inst)
        print(f"  {inst['name']}")

    print("\nSeed complete!")


if __name__ == "__main__":
    seed_all()
```
