tcw bet

Daily COVID-19 Cases by State

Data as of 01 Jun 2024, 23:59
Daily COVID-19 cases at national and state level, with details on imported, recovered, active, and cluster cases.

0 viewsΒ·0 downloads

Table
New Cases
Active Cases
Cluster-related Cases
Imported Cases
Recoveries

How is this data produced?

This dataset is produced by the Crisis Preparedness and Response Centre (CPRC) at the Ministry of Health, based on daily ground-level surveillance conducted to monitor the evolution of COVID-19 in Malaysia. Following Malaysia's transition to endemicity, the public reporting frequency was altered from daily to weekly. Nevertheless, internal surveillance is still conducted on a daily basis.

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

In general, the data presented here is based on the date of report rather than the date of the event.

Publication(s) using this data

KKMNOW features a where you can explore the data in a more interactive manner!

Metadata

Dataset description
Daily COVID-19 cases at national and state level, with details on imported, recovered, active, and cluster cases.
Variable definitions
  • Date
  • State
  • New Cases
  • Imported Cases
  • Recoveries
  • Active Cases
  • Cluster-related Cases
Last updated:
02 Jun 2024, 12:00
Next update:
09 Jun 2024, 12:00
Data source(s)
  • MoH
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

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 = '//storage.skbdn.com/healthcare/covid_cases.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 tcw bet:official Open API Documentation.

import requests import pprint url = "//api.skbdn.com/data-catalogue?id=covid_cases&limit=3" response_json = requests.get(url=url).json() pprint.pprint(response_json)
jata negara
Government of Malaysia
Β© 2024 Public Sector Open Data
Open Source
Open DataFAQ