Riksdagsmonitor Intelligence Platform - v0.7.19
    Preparing search index...

    Monthly metrics for trend analysis, party rankings, and legislative efficiency. Computed in monthly-review.ts and consumed by generateMonthlyReviewContent.

    NOTE: Document count fields may be based on limited/sampled search results (e.g., when upstream search_dokument calls use a hard result limit) and are therefore not guaranteed to be exact global totals for the period.

    interface MonthlyMetrics {
        totalDocuments: number;
        reportCount: number;
        propositionCount: number;
        motionCount: number;
        speechCount: number;
        previousMonthDocCount: number;
        twoMonthsAgoDocCount: number;
        partyRankings: { party: string; motionCount: number; speechCount: number }[];
        legislativeEfficiencyRate: number;
    }
    Index

    Properties

    totalDocuments: number

    Sampled document count for this month. Derived from the number of documents returned by upstream search and may be capped by search limits rather than representing an exact total.

    reportCount: number

    Number of committee reports (betänkanden) in the sampled set

    propositionCount: number

    Number of government propositions in the sampled set

    motionCount: number

    Number of parliamentary motions in the sampled set

    speechCount: number

    Number of speeches (anföranden) in the sampled set

    previousMonthDocCount: number

    Previous month's sampled document count (for trend). Subject to the same upstream search limits as totalDocuments.

    twoMonthsAgoDocCount: number

    Sampled document count from two months ago (for rolling average). Subject to the same upstream search limits as totalDocuments.

    partyRankings: { party: string; motionCount: number; speechCount: number }[]

    Party activity rankings sorted by total activity (motions + speeches)

    legislativeEfficiencyRate: number

    Legislative efficiency rate: committee reports divided by propositions. This is a non-negative ratio (reportCount / propositionCount) and may exceed 1 when there are more reports than propositions in the same period.