EU Parliament Monitor - API Documentation - v0.8.1
    Preparing search index...
    • Compute a polarization index for a parliamentary period based on voting pattern cohesion data. Uses a Laakso-Taagepera–inspired "effective number of blocs" calculation alongside cohesion analysis.

      Parameters

      • patterns: readonly VotingPattern[]

        Voting patterns for the period

      Returns PolarizationIndex | null

      PolarizationIndex assessment, or null if patterns are empty