EU Parliament Monitor - API Documentation - v0.7.0
    Preparing search index...

    Module Utils/WorldBankData

    Utility functions for World Bank economic data integration.

    Provides EU member state → World Bank country code mapping, CSV parsing for MCP responses, indicator formatting, and economic context building for EU Parliament article enrichment.

    Functions in this module are designed to be stateless and avoid observable side effects, with the exception of explicitly recording metadata such as data timestamps in returned objects.

    Variables

    EU_COUNTRY_CODES
    EU_AGGREGATE_CODE
    POLICY_INDICATORS

    Functions

    parseWorldBankCSV
    formatIndicatorValue
    getMostRecentValue
    buildEconomicContext
    getWorldBankCountryCode
    isEUMemberState
    buildEconomicContextHTML