Daily COVID-19 cases at national and state level, broken down by vaccination status.
0 viewsΒ·0 downloads
Building on the base dataset, this dataset tabules new COVID-19 cases by vaccination status by deterministically matching individual-level COVID-19 case data with COVID-19 vaccination records from the Malaysian Vaccine Administration System (MyVAS). Matching is done using the individual's IC/BC number (for Malaysians) or passport (for non-Malaysians), with only exact matches permitted.
It is possible that the number of vaccinated cases exceeds the tabulated number, for instance if an individual was vaccinated under an ID different from the ID used in the COVID-19 test result declaration, or if an individual was vaccinated outside the country and has not yet uploaded their records to MyVAS. However, these issues are negligible in magnitude.
KKMNOW features a dashboard on COVID-19 where you can explore the data in a more interactive manner!
Daily COVID-19 cases at national and state level, broken down by vaccination status.
Name in Dataset | Variable | Definition |
---|---|---|
date (Date) | Date | Date in YYYY-MM-DD format |
state (Categorical) | State | One of 16 states, or Malaysia |
cases_unvax (Integer) | Unvaccinated Cases | Number of new cases for which no vaccination record is found |
cases_pvax (Integer) | Partially Vaccinated Cases | Number of new cases where the individual received at least 1 dose of any vaccine, but has not yet been fully vaccinated |
cases_fvax (Integer) | Fully Vaccinated Cases | Number of new cases where the individual received the second dose of a two-dose vaccine at least 14 days ago, or the first dose of a one-dose vaccine at least 28 days ago; boosted cases are removed from this number |
cases_boost (Integer) | Boosted Cases | Number of new cases where the individual received a booster dose at least 7 days ago |
08 Dec 2024, 12:00
15 Dec 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.data.gov.my/healthcare/covid_cases_vaxstatus.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=covid_cases_vaxstatus&limit=3"
response_json = requests.get(url=url).json()
pprint.pprint(response_json)
Β© 2024 Ministry of Health Malaysia