Annual Deaths by State, Sex, & Ethnicity

Data as of 2022

Annual number of deaths, with breakdowns by sex, ethnic group and state.

0 views·0 downloads

Table

Deaths

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 'state' 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 Kuala Lumpur but resided in Selangor will be recorded as a death for Selangor. 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.

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 of deaths, with breakdowns by sex, ethnic group and state.

Variable definitions
  • State
  • Date
  • Sex
  • Ethnicity
  • Deaths
Last updated:

17 Oct 2023, 12:00

Next update:

17 Oct 2024, 12:00

Data source(s)
  • JPN
  • 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/demography/death_sex_ethnic_state.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_sex_ethnic_state&limit=3" response_json = requests.get(url=url).json() pprint.pprint(response_json)
jata negara

Department of Statistics Malaysia

© 2024 Public Sector Open Data