All files / scripts/imf/indicators fm.ts

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22                              17x            
/**
 * @module imf/indicators/fm
 * @description Commonly-referenced IMF Fiscal Monitor (FM) indicators.
 *
 * The codes below are the **logical** FM identifiers used in
 * `FM:<code>` article citations and routed through SDMX 3.0 against
 * the `IMF.FAD,FM,5.1.0` dataflow. The Datamapper FM dataset uses
 * different suffix conventions (`GGXONLB_G01_GDP_PT`,
 * `G_XWDG_G01_GDP_PT`, …) — see the live catalog via
 * `imf-fetch.ts list-datamapper-indicators --dataset FM`.
 *
 * @author Hack23 AB
 * @license Apache-2.0
 */
 
export const IMF_FM_INDICATORS = {
  /** General government gross debt, % of GDP (FM vintage — may differ slightly from WEO). */
  generalGovGrossDebtFm: 'GGXWDG_NGDP',
  /** General government primary balance, % of GDP. */
  primaryBalance: 'GGXONLB_NGDP',
} as const;