Annual Marriages by State

Data as of 31 Dec 2022, 23:59

Number of marriages registered annually by state of residence, including marriage rates per 1,000 unmarried population.

0 views·0 downloads

Table

Marriages

Marriage Rate

How is this data produced?

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. Classification by state is based on the state of residence of the bride and groom respectively, meaning that the total number of male and female marriages in a state does not necessarily have to be the same (however, the national totals must match).

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

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.

Publication(s) using this data

Metadata

Dataset description

Number of marriages registered annually by state of residence, including marriage rates per 1,000 unmarried population.

Variable definitions
  • State
  • Date
  • Sex
  • Number of Marriages
  • Marriage Rate
Last updated:

23 Nov 2023, 12:00

Next update:

21 Nov 2024, 12:00

Data source(s)
  • 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/marriages_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=marriages_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