Long time series of annual real gross domestic product (GDP) and gross national income (GNI), including per capita values.
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). Gross national income (GNI) is derived as GDP plus net factor incomes from abroad. For a full description of the methodology, please refer to the Technical Notes.
GDP and GNI values for 2022 and 2023 may be revised in future releases. Furthermore, per capita values will be revised in parallel with any published revisions to Malaysia's population data.
β
Long time series of annual real gross domestic product (GDP) and gross national income (GNI), including per capita values.
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 |
gdp (Float, RM mil) | GDP | 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. The values are in constant 2015 prices, i.e. with base 2015 = 100. |
gni (Float, RM mil) | GNI | The total value of the production of the nationals of the country, whether they are in residence in Malaysia or not. Mechnically, it is defined as GDP plus net factor incomes from abroad. The values are in constant 2015 prices, i.e. with base 2015 = 100. |
gdp_capita (Float, RM) | GDP per Capita | The ratio of GDP to the total population of Malaysia in that year |
gni_capita (Float, RM) | GNI per Capita | The ratio of GNI to the total population of Malaysia in that year |
17 May 2024, 12:00
16 May 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_gni_annual_real.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_gni_annual_real&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