Annual Marriages

Data as of 31 Dec 2022, 23:59

Number of marriages registered annually in Malaysia, 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.

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 in Malaysia, including marriage rates per 1,000 unmarried population.

Variable definitions
  • 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.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&limit=3" response_json = requests.get(url=url).json() pprint.pprint(response_json)