National-level core CPI inflation for 13 main groups of goods and services.
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. The difference between the CPI and core CPI (this dataset) is that core CPI excludes items with volatile prices or government-administered prices. This is usually taken to be a better gauge of the 'underlying' or long-run trend in the price level. For a deeper understanding of the 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.
The core CPI is not computed for the 'Alcoholic Beverages and Tobacco' category because all items in this category have their prices administered by the government, and are thus excluded from core CPI calculations.
Consumer Price Index, Aug 2024, the latest edition of the monthly consumer price statistics published by DOSM. OpenDOSM also features a dashboard on consumer prices.
National-level core CPI inflation for 13 main groups of goods and services.
Name in Dataset | Variable | Definition |
---|---|---|
date (Date) | Date | The date in YYYY-MM-DD format, with DD set to 01 as the data is at monthly frequency |
division (String) | Division | 2-digit code from 01-13 or 'overall', to be matched using the 'division' column in the MCOICOP Lookup. The MCOICOP lookup table will give you the English and Malay definitions. |
index (Float) | Index | Index value, with base 2010 = 100 |
23 Sept 2024, 12:00
24 Oct 2024, 12:00
This data is made open under the Creative Commons Attribution 4.0 International License (CC BY 4.0). A copy of the license is available Here.
Full Dataset (CSV)
Recommended for individuals seeking an Excel-friendly format.
0
Full Dataset (Parquet)
Recommended for data scientists seeking to work with data via code.
0
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_2d_core_inflation.parquet'
df = pd.read_parquet(URL_DATA)
if 'date' in df.columns: df['date'] = pd.to_datetime(df['date'])
print(df)
The following code is an example of how to make an API query to retrieve the data catalogue mentioned above. You can use different programming languages by switching the code accordingly. For a complete guide on possible query parameters and syntax, please refer to the official Open API Documentation.
import requests
import pprint
url = "https://api.data.gov.my/data-catalogue?id=cpi_core_inflation&limit=3"
response_json = requests.get(url=url).json()
pprint.pprint(response_json)
Department of Statistics Malaysia
© 2024 Public Sector Open Data
Open Data
data.gov.my