EU Parliament Monitor - API Documentation - v0.8.2
    Preparing search index...
    • Detect voting trends across multiple voting records by analysing margin distribution, polarization patterns, and result consistency. Records are sorted by date (ascending) before analysis to ensure chronological trend detection. Returns an array of detected trends sorted by confidence.

      Parameters

      • records: readonly VotingRecord[]

        Voting records to analyse across sessions

      Returns VotingTrend[]

      Array of detected VotingTrend objects (empty if fewer than 2 valid records)