Annual Real GDP by Expenditure Type

Data as of 2023

Annual gross domestic product (GDP) at constant 2015 prices, by expenditure type.

0 viewsΒ·0 downloads

Table

Real GDP

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).

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 expenditure method (C + I + G + X - M), which allows insight into who is buying the output of the Malaysian economy; households, businesses, government, or other countries. 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.

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

Values for 2022 and 2023 may be revised in future releases. Furthermore, the sum of GDP for all expenditure types may not always equal to the values for overall GDP because of independent rounding to one decimal place. However, the differences are not obvious.

Publication(s) using this data

Gross Domestic Product, 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.

Metadata

Dataset description

Annual gross domestic product (GDP) at constant 2015 prices, by expenditure type.

Variable definitions
  • Series Type
  • Date
  • Expenditure Type
  • Value
Last updated:

17 May 2024, 12:00

Next update:

16 May 2025, 12:00

Data source(s)
  • Department of Statistics Malaysia
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_annual_real_demand.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_annual_real_demand&limit=3" response_json = requests.get(url=url).json() pprint.pprint(response_json)