0 views·0 downloads
The CPI measures the cost of purchasing a constant, representative 'basket' of goods and services. The quantity and quality of goods in the basket are kept constant, so that changes in the cost of the basket are purely due to price changes. The changes in the cost of this basket represent the rate of inflation. For a deeper understanding of the price collection and CPI computation methodology, please refer to the Technical Notes. Finally, it should be noted that Malaysia's CPI classification is deliberately consistent with the United Nations Classification of Individual Consumption According to Purpose (COICOP) to ensure international comparability.
When interpreting inflation rates derived from the CPI, it is important to remember that the rate of inflation experienced by a specific individual may be higher or lower than this number. This does not invalidate the CPI, which is meant to be an average value representative of the entire population.
National-level CPI at group granularity. The table below provides a preview of the full dataset using the latest month of data only.
Name in Dataset
The date in YYYY-MM-DD format, with MM-DD set to -01-01
3-digit code, to be matched using the 'group' column in the MCOICOP Lookup. The MCOICOP lookup table will give you the English and Malay definitions.
Index value, with base 2010 = 100
This data is made open under the Creative Commons Attribution 4.0 International License (CC BY 4.0). A human-readable copy of the license is available Here.
Full Dataset (CSV)
Recommended for individuals seeking an Excel-friendly format.
Full Dataset (Parquet)
Recommended for data scientists seeking to work with data via code.
Connect directly to the data with Python.
# If not already installed, do: pip install pandas fastparquet
import pandas as pd
URL_DATA = 'https://storage.dosm.gov.my/cpi/cpi_3d.parquet'
df = pd.read_parquet(URL_DATA)
if 'date' in df.columns: df['date'] = pd.to_datetime(df['date'])
This data catalog is not available through OpenAPI as the nature of the data makes it unsuitable for API access. For the full dataset, please use the provided download link as shown in the above section.