Riksdagsmonitor Intelligence Platform โ€” API Documentation - v1.0.30
    Preparing search index...
    • Persist World Bank API response data. Stored under analysis/data/worldbank/{sanitized-indicator}/{sanitized-country}.json where both segments are sanitized via sanitizeDokId (path traversal prevention).

      Parameters

      • indicator: string

        World Bank indicator ID (e.g. 'NY.GDP.MKTP.CD')

      • country: string

        Country code (e.g. 'SWE')

      • response: unknown

        Raw API response data

      • dataRoot: string = DATA_ROOT

        Override for the data root directory (for testing)

      Returns string