Living Inflation Data Home › Sources › hcp HBS AI Institute

Haut-Commissariat au Plan, Morocco

As built

DatasetConsumer Price Index, Morocco
Dataset idhcp.cpi
Series3,776
Observations381,947
Countries1
Period range2005-12-01 to 2026-09-01
Vintages7
Last fetched2026-11-01 07:25
Poll interval1 days
Archivehcp/cpi/*.bin.gz
LicenceCC-BY-4.0
Redistributablewith-attribution
Terms assessed2026-10-23
AttributionSource: Haut-Commissariat au Plan (HCP), Morocco, Consumer Price Index and Base de données statistiques; licensed under CC BY 4.0.

https://www.hcp.ma/Conditions-generales-d-utilisation-Version-1-0_a2194.html

What building it taught us

The connector's own docstring, verbatim. It lives beside the code so it cannot drift from it.

Morocco consumer prices from the Haut-Commissariat au Plan (HCP).

HCP's public BDS API exposes the current 2017-base monthly CPI for the national aggregate and 18 cities, through the source's division, group, and class hierarchy. Official linked monthly sheets extend the national aggregates and twelve divisions beyond the BDS publication lag. The latest monthly release publishes aggregate month-on-month and year-on-year rates. The fixed basket workbook supplies division and group shares. Annual price tables are excluded.

Every reference and native classification stays in its own identity. Official monthly historical resources support the same main CPI; they are not extra economic families. Oujda's original 2006 workbook retains all thirteen native monthly series independently of the 2017 classification. Original annual-only 1972-73 evidence remains archived outside the selected public price scope.