Annual Nominal GDP & GNI: 1947 to Present

Data as of 2023

Long time series of annual nominal gross domestic product (GDP) and gross national income (GNI), including per capita values.

0 views·0 downloads

Table

Nominal GDP

Nominal GNI

Nominal GDP per Capita

Nominal GNI per Capita

How is this data produced?

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.

What caveats I should bear in mind when using this data?

Values for 1954 are not available as data for that year was not collected. 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. Finally, it should be noted that the scope of 'national' changes across the time series, as follows:

  • Values for 1947-53 refer to the Federation of Malaya and Singapore.
  • Values for 1955-59 refer to the Federation of Malaya (which included Singapore).
  • Values for 1960-62 refer to Peninsular Malaysia only (i.e. excluding Singapore).
  • Values from 1963 onwards refer to Malaysia as currently defined, including Sabah and Sarawak, and excluding Singapore.

Publication(s) using this data

Metadata

Dataset description

Long time series of annual nominal gross domestic product (GDP) and gross national income (GNI), including per capita values.

Variable definitions
  • Series Type
  • Date
  • GDP
  • GNI
  • GDP per Capita
  • GNI per Capita
Last updated:

17 May 2024, 12:00

Next update:

16 May 2025, 12:00

Data source(s)
  • DOSM
License

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.

Download

Data
Full Dataset (CSV)

Full Dataset (CSV)

Recommended for individuals seeking an Excel-friendly format.

0

Full Dataset (Parquet)

Full Dataset (Parquet)

Recommended for data scientists seeking to work with data via code.

0

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/gdp/gdp_gni_annual_nominal.parquet' df = pd.read_parquet(URL_DATA) if 'date' in df.columns: df['date'] = pd.to_datetime(df['date']) print(df)

Sample OpenAPI query

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_nominal&limit=3" response_json = requests.get(url=url).json() pprint.pprint(response_json)