Annual number of births with signs of life upon delivery, by district and sex.
0 views·0 downloads
A live birth is a birth with signs of life upon delivery, even if only for a short while. The data on live births by state is tabulated based on information reported during the births registration process, specifically in the in Register of Birth Form (JPN.LM01). In particular, the 'district' reported in this dataset is based on the place of usual residence of the mother, not the geographical location in which the baby was born. For example, a baby born in a hospital in Petaling to a family who resides in Sepang will be counted as a live birth for Sepang. For a deeper understanding of the methodology and associated definition, please refer to the Technical Notes.
This data is derived based on births registered with JPN. Accordingly, if a birth is not registered with JPN (for instance, if a foreigner chooses to register their child in their home country, or if a resident in a remote area does not register the birth of their child), it will not count in this dataset.
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).
There are two dashboards where you can explore this (and related) data more interactively:
Annual number of births with signs of life upon delivery, by 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) | Live Births | Number of live births in that year |
rate (Float) | Birth Rate | Number of live births 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/birth_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=births_district_sex&limit=3"
response_json = requests.get(url=url).json()
pprint.pprint(response_json)
© 2024 Public Sector Open Data