Annual state-level gross domestic product (GDP) at constant 2015 prices for the 5 main economic sectors.
0 views·0 downloads
Gross domestic product (GDP) is the total value of goods and services produced within that year, after deducting the cost of goods and services used in production, but before deducting the consumption of fixed capital. In Malaysia, GDP is estimated in compliance with the System of National Accounts (2008).
In general, GDP can be measured via 3 approaches, namely production, expenditure, and income. Because the measurement employs double entry accounting, the overall value must be the same across all 3 approaches. However, the different approaches allow GDP to be analysed in different ways. The GDP estimates in this dataset were produced using the production method (also known as the value added approach), which allows insight into the specific contribution of each economic sector. For that reason, the results of the production approach are often referenced in economic writing as supply-side GDP. The values were measured at constant 2015 prices, i.e. with price effects removed relative to a base year (2015 = 100). For a full description of the methodology, please refer to the Technical Notes.
There are several caveats to note:
Gross Domestic Product by State, 2023, the latest edition of the annual GDP statistics published by DOSM. OpenDOSM also features a dashboard on GDP which enables you to explore Malaysia's GDP data interactively.
Annual state-level gross domestic product (GDP) at constant 2015 prices for the 5 main economic sectors.
Name in Dataset | Variable | Definition |
---|---|---|
series (String) | Series Type | Series type, either absolute values ('abs') or annual growth ('growth_yoy') |
date (Date) | Date | The date in YYYY-MM-DD format, with MM-DD set to 01-01 as the data is at annual frequency |
state (Categorical) | State | One of 15 states (W.P. Putrajaya is subsumed under W.P. Kuala Lumpur), or 'Supranational', which is a catch-all category for GDP data that cannot be attributed to a specific state, especially in the mining and quarrying sector. |
sector (String) | Economic Sector | Code for the economic sector, to be mapped using the Lookup Table. The lookup table will give you the English and Malay definitions. |
value (Float) | Value | Either the value of GDP in RM millions (for rows with series type 'abs') or GDP growth as a percentage (for rows with series type 'growth_yoy') |
02 Jul 2024, 12:00
02 Jul 2025, 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/gdp/gdp_state_real_supply.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=gdp_state_real_supply&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