EU Parliament Monitor — API Documentation - v0.8.39
    Preparing search index...

    Function buildIMFEconomicContextHTML

    • Build a WCAG-compliant HTML <section> summarising the IMF economic context for a single country.

      Forecast rows are marked with a data-forecast="true" attribute on the <tr> so CSS/Chart.js can visually differentiate them from actuals. Source attribution cites the IMF WEO/FM vintage when available. Safe against XSS via escapeHTML.

      Parameters

      Returns string

      HTML string with the economic context section, or '' when there are no indicators.