stats: core-7 economy page with CPI index levels, rebase and categories
All checks were successful
Deploy production / deploy (push) Successful in 1m13s

- /stats/economy defaults multi-country charts to CAN KOR CHN JPN USA NLD CUW,
  with add-a-country chips and an EU 27 comparison line
- CPI index levels rebased to a chosen base year, index/YoY toggle,
  categories (food, energy, housing, core) where the source has them
- new no-key collectors: oecd (CPI categories, 10y yields), statcan (CPI);
  bis WS_LONG_CPI, FRED US CPI categories, Eurostat prc_hicp_minr, WB FP.CPI.TOTL
- Canada added as a region; CBS Curacao fallbacks for growth/unemployment
- timers stats-oecd and stats-statcan
This commit is contained in:
2026-10-26 00:34:27 +00:00
parent 28140bd425
commit 45841d6f6c
18 changed files with 926 additions and 122 deletions

View File

@@ -155,6 +155,21 @@ export const FRED_SERIES: Fred[] = [
region: 'USA',
theme: 'economy'
},
...(
[
['CPIUFDSL', 'food'],
['CPIHOSSL', 'housing'],
['CPIENGSL', 'energy'],
['CPILFESL', 'all items less food and energy']
] as const
).map(([id, what]) => ({
id,
title: `US consumer price index (CPI-U), ${what}`,
unit: 'Index 1982-84=100',
freq: 'M' as const,
region: 'USA',
theme: 'economy'
})),
{
id: 'UNRATE',
title: 'US unemployment rate',