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

    Function parseWorldBankCSV

    • Parse CSV data from World Bank MCP response into structured indicator objects. The World Bank MCP server returns indicator data as CSV text via pandas. Handles quoted fields that may contain commas (e.g., indicator names).

      Parameters

      • csvText: string | null | undefined

        Raw CSV text from the MCP tool response (accepts null/undefined for convenience)

      Returns WorldBankIndicator[]

      Array of parsed World Bank indicator data points