European Parliament MCP Server API - v1.3.9
    Preparing search index...

    Function resolveGroupBreakdownRow

    • Internal

      Resolve the breakdown row for a normalized group label, handling the case where DOCEO XML uses raw short labels (e.g. RE, Verts/ALE) while normalizedGroup is the canonical EP code (Renew, Greens/EFA).

      Exported for testing.

      Parameters

      • breakdown: Record<string, { abstain: number; against: number; for: number }> | undefined
      • normalizedGroup: string

      Returns { abstain: number; against: number; for: number } | undefined