Daily organ donation pledges at state level. The table provides a preview of the dataset using the most recent year of data.
0 viewsΒ·0 downloads
This dataset is produced from transacional records of organ pledges kept by the National Transplant Resource Centre. Although Organ Donor Pledge registrations have been conducted since 1997, data prior to 2009 has been dropped due to data cleanliness issues preventing reliable digitisation. Accordingly, this dataset is a consolidation of:
The digital organ donation pledge process allows an individual to pledge their organs, and subsequently withdraw their pledge if they so choose. Therefore, the data shown here is dynamic; the number of pledges for a specific date may reduce (but not increase) in future if pledges are withdrawn.
KKMNOW features a dashboard on Organ Donation where you can explore the data in a more interactive manner!
Daily organ donation pledges at state level. The table provides a preview of the dataset using the most recent year of data.
Name in Dataset | Variable | Definition |
---|---|---|
date (Date) | Date | Date in YYYY-MM-DD format |
state (Categorical) | State | One of 16 states |
pledges (Integer) | Number of Pledges | Number of pledges received on that date |
21 Nov 2024, 10:00
22 Nov 2024, 10: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.data.gov.my/healthcare/organ_pledges_state.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=organ_pledges_state&limit=3"
response_json = requests.get(url=url).json()
pprint.pprint(response_json)
Β© 2024 Public Sector Open Data