Weekly retail prices of RON95 petrol, RON97 petrol, and diesel in Malaysia.
0 views·0 downloads
This dataset presents the weekly retail price of RON95 petrol, RON97 petrol, and diesel in Malaysia. Since April 2017, the retail price of fuel in Malaysia has been set on a weekly basis (except for a short period at the end of 2018 where it was announced monthly) using the Automatic Pricing Mechanism (APM). The APM is designed to allow the government to monitor the effects of changes in global crude oil prices and adjust retail fuel prices to ensure the continued welfare of the rakyat.
Beginning 3 March 2021, the announcement of fuel prices was changed from Fridays to Wednesdays. Furthermore, because petrol and diesel prices are controlled by the government, they were not affected by the zero-rating of GST on 1 June 2018, and the subsequent implementation of SST on 1 September 2018.
MoF's weekly press statement on the retail price of petroleum products.
Weekly retail prices of RON95 petrol, RON97 petrol, and diesel in Malaysia.
Name in Dataset | Variable | Definition |
---|---|---|
series_type (categorical) | Chart Type | Price in RM (level), or weekly change in RM (change_weekly). |
date (Date) | Date | The date of effect of the price, in YYYY-MM-DD format |
ron95 (Float) | RON95 Petrol Price | Price per litre, in RM. |
ron97 (Float) | RON97 Petrol Price | Price per litre, in RM. |
diesel (Float) | Diesel Price | Price per litre, in RM. |
01 May 2024, 23:59
08 May 2024, 23:59
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.data.gov.my/commodities/fuelprice.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=fuelprice&limit=3"
response_json = requests.get(url=url).json()
pprint.pprint(response_json)
© 2024 Public Sector Open Data