Datasets:
Add README.md
Browse files
README.md
CHANGED
|
@@ -1,32 +1,150 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
dataset_info:
|
| 3 |
-
features:
|
| 4 |
-
- name: entity
|
| 5 |
-
dtype: string
|
| 6 |
-
- name: code
|
| 7 |
-
dtype: string
|
| 8 |
-
- name: year
|
| 9 |
-
dtype: int64
|
| 10 |
-
- name: total_covid_19_tests
|
| 11 |
-
dtype: int64
|
| 12 |
-
- name: esa_source
|
| 13 |
-
dtype: string
|
| 14 |
-
- name: esa_processed
|
| 15 |
-
dtype: string
|
| 16 |
splits:
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
num_bytes: 921
|
| 22 |
-
num_examples: 16
|
| 23 |
-
download_size: 7340
|
| 24 |
-
dataset_size: 4547
|
| 25 |
-
configs:
|
| 26 |
-
- config_name: default
|
| 27 |
-
data_files:
|
| 28 |
-
- split: train
|
| 29 |
-
path: data/train-*
|
| 30 |
-
- split: test
|
| 31 |
-
path: data/test-*
|
| 32 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
annotations_creators:
|
| 3 |
+
- no-annotation
|
| 4 |
+
language_creators:
|
| 5 |
+
- found
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
license: cc-by-4.0
|
| 9 |
+
multilinguality:
|
| 10 |
+
- monolingual
|
| 11 |
+
size_categories:
|
| 12 |
+
- n<1K
|
| 13 |
+
source_datasets:
|
| 14 |
+
- original
|
| 15 |
+
task_categories:
|
| 16 |
+
- tabular-classification
|
| 17 |
+
task_ids: []
|
| 18 |
+
tags:
|
| 19 |
+
- africa
|
| 20 |
+
- humanitarian
|
| 21 |
+
- hdx
|
| 22 |
+
- electric-sheep-africa
|
| 23 |
+
- covid-19
|
| 24 |
+
- disease
|
| 25 |
+
- epidemics-outbreaks
|
| 26 |
+
- health
|
| 27 |
+
- arg
|
| 28 |
+
- aus
|
| 29 |
+
- aut
|
| 30 |
+
- bhr
|
| 31 |
+
- bel
|
| 32 |
+
pretty_name: "Total COVID-19 Tests Performed by Country"
|
| 33 |
dataset_info:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
splits:
|
| 35 |
+
- name: train
|
| 36 |
+
num_examples: 61
|
| 37 |
+
- name: test
|
| 38 |
+
num_examples: 15
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
---
|
| 40 |
+
|
| 41 |
+
# Total COVID-19 Tests Performed by Country
|
| 42 |
+
|
| 43 |
+
**Publisher:** HDX · **Source:** [HDX](https://data.humdata.org/dataset/total-covid-19-tests-performed-by-country) · **License:** `cc-by` · **Updated:** 2025-09-08
|
| 44 |
+
|
| 45 |
+
---
|
| 46 |
+
|
| 47 |
+
## Abstract
|
| 48 |
+
|
| 49 |
+
'Our World in Data' is compiling COVID-19 testing data over time for many countries around the world. They are adding further data in the coming days as more details become available for other countries. In some cases figures refer to the number of tests, in other cases to the number of individuals who have been tested. Refer to documentation provided [here](https://ourworldindata.org/covid-testing).
|
| 50 |
+
|
| 51 |
+
Each row in this dataset represents time-series observations. Data was last updated on HDX on 2025-09-08. Geographic scope: **ARG, AUS, AUT, BHR, BEL, BOL, CAN, CHL, and 55 others**.
|
| 52 |
+
|
| 53 |
+
*Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
|
| 54 |
+
|
| 55 |
+
---
|
| 56 |
+
|
| 57 |
+
## Dataset Characteristics
|
| 58 |
+
|
| 59 |
+
| | |
|
| 60 |
+
|---|---|
|
| 61 |
+
| **Domain** | Public health |
|
| 62 |
+
| **Unit of observation** | Time-series observations |
|
| 63 |
+
| **Rows (total)** | 77 |
|
| 64 |
+
| **Columns** | 6 (2 numeric, 4 categorical, 0 datetime) |
|
| 65 |
+
| **Train split** | 61 rows |
|
| 66 |
+
| **Test split** | 15 rows |
|
| 67 |
+
| **Geographic scope** | ARG, AUS, AUT, BHR, BEL, BOL, CAN, CHL, and 55 others |
|
| 68 |
+
| **Publisher** | HDX |
|
| 69 |
+
| **HDX last updated** | 2025-09-08 |
|
| 70 |
+
|
| 71 |
+
---
|
| 72 |
+
|
| 73 |
+
## Variables
|
| 74 |
+
|
| 75 |
+
**Geographic** — `entity` (Armenia, Mexico, Philippines), `year` (range 34.0–59.0).
|
| 76 |
+
|
| 77 |
+
**Outcome / Measurement** — `total_covid_19_tests` (range 222.0–320000.0).
|
| 78 |
+
|
| 79 |
+
**Identifier / Metadata** — `code` (ARM, SVK, MEX), `esa_source` (HDX), `esa_processed` (2026-04-06).
|
| 80 |
+
|
| 81 |
+
---
|
| 82 |
+
|
| 83 |
+
## Quick Start
|
| 84 |
+
|
| 85 |
+
```python
|
| 86 |
+
from datasets import load_dataset
|
| 87 |
+
|
| 88 |
+
ds = load_dataset("electricsheepafrica/africa-total-covid-19-tests-performed-by-country")
|
| 89 |
+
train = ds["train"].to_pandas()
|
| 90 |
+
test = ds["test"].to_pandas()
|
| 91 |
+
|
| 92 |
+
print(train.shape)
|
| 93 |
+
train.head()
|
| 94 |
+
```
|
| 95 |
+
|
| 96 |
+
---
|
| 97 |
+
|
| 98 |
+
## Schema
|
| 99 |
+
|
| 100 |
+
| Column | Type | Null % | Range / Sample Values |
|
| 101 |
+
|---|---|---|---|
|
| 102 |
+
| `entity` | object | 0.0% | Armenia, Mexico, Philippines |
|
| 103 |
+
| `code` | object | 23.4% | ARM, SVK, MEX |
|
| 104 |
+
| `year` | int64 | 0.0% | 34.0 – 59.0 (mean 56.5065) |
|
| 105 |
+
| `total_covid_19_tests` | int64 | 0.0% | 222.0 – 320000.0 (mean 30387.961) |
|
| 106 |
+
| `esa_source` | object | 0.0% | HDX |
|
| 107 |
+
| `esa_processed` | object | 0.0% | 2026-04-06 |
|
| 108 |
+
|
| 109 |
+
---
|
| 110 |
+
|
| 111 |
+
## Numeric Summary
|
| 112 |
+
|
| 113 |
+
| Column | Min | Max | Mean | Median |
|
| 114 |
+
|---|---|---|---|---|
|
| 115 |
+
| `year` | 34.0 | 59.0 | 56.5065 | 58.0 |
|
| 116 |
+
| `total_covid_19_tests` | 222.0 | 320000.0 | 30387.961 | 8603.0 |
|
| 117 |
+
|
| 118 |
+
---
|
| 119 |
+
|
| 120 |
+
## Curation
|
| 121 |
+
|
| 122 |
+
Raw data was downloaded from HDX via the CKAN API and converted to Parquet. Column names were lowercased and standardised to snake_case. Common missing-value markers (`N/A`, `null`, `none`, `-`, `unknown`, `no data`, `#N/A`) were unified to `NaN`. The dataset was split 80/20 into train and test partitions using a fixed random seed (42) and saved as Snappy-compressed Parquet.
|
| 123 |
+
|
| 124 |
+
---
|
| 125 |
+
|
| 126 |
+
## Limitations
|
| 127 |
+
|
| 128 |
+
- Data originates from HDX and has not been independently validated by ESA.
|
| 129 |
+
- Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
|
| 130 |
+
- The following columns have >20% missing values and should be treated with caution in modelling: `code`.
|
| 131 |
+
- This dataset spans 63 countries; geographic and methodological inconsistencies across national boundaries may affect cross-country comparability.
|
| 132 |
+
- Refer to the [original HDX dataset page](https://data.humdata.org/dataset/total-covid-19-tests-performed-by-country) for the publisher's own methodology notes and caveats.
|
| 133 |
+
|
| 134 |
+
---
|
| 135 |
+
|
| 136 |
+
## Citation
|
| 137 |
+
|
| 138 |
+
```bibtex
|
| 139 |
+
@dataset{hdx_africa_total_covid_19_tests_performed_by_country,
|
| 140 |
+
title = {Total COVID-19 Tests Performed by Country},
|
| 141 |
+
author = {HDX},
|
| 142 |
+
year = {2025},
|
| 143 |
+
url = {https://data.humdata.org/dataset/total-covid-19-tests-performed-by-country},
|
| 144 |
+
note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
|
| 145 |
+
}
|
| 146 |
+
```
|
| 147 |
+
|
| 148 |
+
---
|
| 149 |
+
|
| 150 |
+
*[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*
|