Annual Deaths by District & Sex

Data as of 2022

Annual number and rate of deaths by administrative district and sex.

0 viewsΒ·0 downloads

How is this data produced?

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.

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

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

Publication(s) using this data

OpenDOSM features a dashboard on Population & Vital Statistics where you can explore this data in a more interactive manner!

Metadata

Dataset description

Annual number and rate of deaths by administrative district and sex.

Variable definitions
  • Date
  • State
  • Administrative District
  • Sex
  • Deaths
  • Crude Death Rate
Last updated:

17 Oct 2023, 12:00

Next update:

17 Oct 2024, 12:00

Data source(s)
  • National Registration Department
  • 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/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)

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

Department of Statistics Malaysia

Β© 2024 Public Sector Open Data