Number of marriages registered annually in Malaysia, including marriage rates per 1,000 unmarried population.
0 viewsΒ·0 downloads
In Malaysia, there are two parallel systems for marriage registration; non-Muslim marriages are registered with the National Registration Department (JPN), while Muslim marriages are registered with the Syariah Court. This dataset is tabulated from the transactional administrative data collected by both administrative systems.
The data represents registered marriages only. Unregistered marriages (including couples originally registered outside Malaysia who have not yet registered their marriage with local authorities) are not included in this dataset.
β
Number of marriages registered annually in Malaysia, including marriage rates per 1,000 unmarried population.
Name in Dataset | Variable | Definition |
---|---|---|
date (Date) | Date | The date of marriage registration in YYYY-MM-DD format, with MM-DD set to 01-01 as this is annual data |
sex (Categorical) | Sex | Either male ('male') or female ('female') |
abs (Integer) | Number of Marriages | Number of marriages registered in that year |
rate (Float) | Marriage Rate | Number of marriages per 1000 currently unmarried population of the same sex (including widowers and divorcees) |
23 Nov 2023, 12:00
21 Nov 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/marriages.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=marriages&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