Annual number and rate of deaths by administrative district and sex.
0 viewsΒ·0 downloads
The data on deaths in Malaysia is tabulated based on information reported during the deaths registration process, specifically in the in Register of Death Form (JPN.LM02). The 'district' reported in this dataset is based on the place of usual residence of the deceased, not the geographical location in which the deceased passed away. For example, a person who passes away at a hospital in Petaling but resided in Sepang will be recorded as a death for Sepang. For a deeper understanding of the methodology and associated definition, please refer to the Technical Notes.
This data is derived based on deaths registered with JPN. Therefore, if a death is not registered with JPN (for instance, if the death of a foreigner is registered in their home country, or the death of resident in a remote area is not registered), it will generally not count in this dataset. However, adjustment has been made to the number of deaths in Sabah to account for the under-reporting of deaths detected based on the 'Study of Under Reporting of Deaths in Sabah', which was conducted by DOSM and approved by the Steering Committee on Implementation of Civil Registration and Vital Statistics in 2016.
Furthermore, it should be noted that the number of administrative districts increased from 147 to 160 in 2021, due to the creation of new districts in Kelantan (1), Perak (1), Sabah (2), and Sarawak (9).
OpenDOSM features a dashboard on Population & Vital Statistics where you can explore this data in a more interactive manner!
Annual number and rate of deaths by administrative district and sex.
Name in Dataset | Variable | Definition |
---|---|---|
date (Date) | Date | The date in YYYY-MM-DD format, with MM-DD set to 01-01 since the data is at annual frequency |
state (Categorical) | State | One of 16 states |
district (Categorical) | Administrative District | One of 160 administrative districts |
sex (Categorical) | Sex | Either both sexes ('both'), male ('male') or female ('female') |
abs (Integer) | Deaths | Number of deaths in that year |
rate (Float) | Crude Death Rate | Number of deaths per 1000 population |
17 Oct 2023, 12:00
17 Oct 2024, 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/demography/death_district_sex.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=deaths_district_sex&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