Dataset Viewer
Auto-converted to Parquet Duplicate
entity
stringlengths
4
40
code
stringlengths
3
3
year
int64
34
59
total_covid_19_tests
int64
278
320k
esa_source
stringclasses
1 value
esa_processed
stringdate
2026-04-06 00:00:00
2026-04-06 00:00:00
Austria
AUT
59
15,613
HDX
2026-04-06
Australia - South Australia
null
59
16,717
HDX
2026-04-06
Hong Kong
HKG
44
5,271
HDX
2026-04-06
Canada - Saskatchewan
null
58
2,561
HDX
2026-04-06
Faeroe Islands
FRO
59
1,641
HDX
2026-04-06
Ireland
IRL
56
6,600
HDX
2026-04-06
Iran
IRN
53
80,000
HDX
2026-04-06
Canada - National lab
null
58
54,956
HDX
2026-04-06
Spain
ESP
57
30,000
HDX
2026-04-06
Palestine
PSE
55
2,519
HDX
2026-04-06
Finland
FIN
58
3,000
HDX
2026-04-06
Australia - Victoria
null
58
19,337
HDX
2026-04-06
Slovenia
SVN
58
9,860
HDX
2026-04-06
Kyrgyzstan
KGZ
52
1,545
HDX
2026-04-06
United Kingdom
GBR
58
64,621
HDX
2026-04-06
Mexico
MEX
49
278
HDX
2026-04-06
Vietnam
VNM
59
15,637
HDX
2026-04-06
Canada - Nova Scotia
null
59
1,561
HDX
2026-04-06
South Korea
KOR
59
316,664
HDX
2026-04-06
Costa Rica
CRI
58
1,039
HDX
2026-04-06
Italy
ITA
59
206,886
HDX
2026-04-06
Brazil
BRA
52
2,927
HDX
2026-04-06
Panama
PAN
57
1,455
HDX
2026-04-06
Australia - New South Wales
null
58
39,089
HDX
2026-04-06
Canada - New Brunswick
null
59
520
HDX
2026-04-06
Indonesia
IDN
59
2,028
HDX
2026-04-06
Australia - Western Australia
null
58
8,603
HDX
2026-04-06
Slovakia
SVK
59
2,707
HDX
2026-04-06
Australia - Tasmania
null
58
807
HDX
2026-04-06
Iceland
ISL
59
9,189
HDX
2026-04-06
Turkey
TUR
49
2,900
HDX
2026-04-06
Philippines
PHL
59
1,269
HDX
2026-04-06
Lithuania
LTU
59
1,154
HDX
2026-04-06
United States - CDC samples tested
null
53
37,646
HDX
2026-04-06
Canada - British Columbia
null
52
6,326
HDX
2026-04-06
Czech Republic
CZE
59
11,619
HDX
2026-04-06
Israel
ISR
57
10,864
HDX
2026-04-06
Croatia
HRV
58
1,264
HDX
2026-04-06
Malta
MLT
52
889
HDX
2026-04-06
Colombia
COL
59
4,103
HDX
2026-04-06
Japan
JPN
58
14,901
HDX
2026-04-06
Thailand
THA
56
7,084
HDX
2026-04-06
Poland
POL
59
13,072
HDX
2026-04-06
Belarus
BLR
55
16,000
HDX
2026-04-06
France
FRA
54
36,747
HDX
2026-04-06
United Arab Emirates
ARE
55
125,000
HDX
2026-04-06
Romania
ROU
59
8,284
HDX
2026-04-06
South Africa
ZAF
59
6,438
HDX
2026-04-06
Switzerland
CHE
46
4,000
HDX
2026-04-06
India
IND
59
14,514
HDX
2026-04-06
Estonia
EST
59
2,504
HDX
2026-04-06
Australia
AUS
59
113,615
HDX
2026-04-06
Norway
NOR
59
43,735
HDX
2026-04-06
Canada - Quebec
null
58
10,451
HDX
2026-04-06
Australia - Australian Capital Territory
null
59
2,062
HDX
2026-04-06
China - Guangdong
null
34
320,000
HDX
2026-04-06
Canada - Ontario
null
59
19,511
HDX
2026-04-06
Russia
RUS
58
143,519
HDX
2026-04-06
Ukraine
UKR
59
316
HDX
2026-04-06
Canada - Alberta
null
58
17,013
HDX
2026-04-06
New Zealand
NZL
56
584
HDX
2026-04-06

Total COVID-19 Tests Performed by Country

Publisher: HDX · Source: HDX · License: cc-by · Updated: 2025-09-08


Abstract

'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.

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.

Curated into ML-ready Parquet format by Electric Sheep Africa.


Dataset Characteristics

Domain Public health
Unit of observation Time-series observations
Rows (total) 77
Columns 6 (2 numeric, 4 categorical, 0 datetime)
Train split 61 rows
Test split 15 rows
Geographic scope ARG, AUS, AUT, BHR, BEL, BOL, CAN, CHL, and 55 others
Publisher HDX
HDX last updated 2025-09-08

Variables

Geographicentity (Armenia, Mexico, Philippines), year (range 34.0–59.0).

Outcome / Measurementtotal_covid_19_tests (range 222.0–320000.0).

Identifier / Metadatacode (ARM, SVK, MEX), esa_source (HDX), esa_processed (2026-04-06).


Quick Start

from datasets import load_dataset

ds    = load_dataset("electricsheepafrica/africa-total-covid-19-tests-performed-by-country")
train = ds["train"].to_pandas()
test  = ds["test"].to_pandas()

print(train.shape)
train.head()

Schema

Column Type Null % Range / Sample Values
entity object 0.0% Armenia, Mexico, Philippines
code object 23.4% ARM, SVK, MEX
year int64 0.0% 34.0 – 59.0 (mean 56.5065)
total_covid_19_tests int64 0.0% 222.0 – 320000.0 (mean 30387.961)
esa_source object 0.0% HDX
esa_processed object 0.0% 2026-04-06

Numeric Summary

Column Min Max Mean Median
year 34.0 59.0 56.5065 58.0
total_covid_19_tests 222.0 320000.0 30387.961 8603.0

Curation

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.


Limitations

  • Data originates from HDX and has not been independently validated by ESA.
  • Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
  • The following columns have >20% missing values and should be treated with caution in modelling: code.
  • This dataset spans 63 countries; geographic and methodological inconsistencies across national boundaries may affect cross-country comparability.
  • Refer to the original HDX dataset page for the publisher's own methodology notes and caveats.

Citation

@dataset{hdx_africa_total_covid_19_tests_performed_by_country,
  title     = {Total COVID-19 Tests Performed by Country},
  author    = {HDX},
  year      = {2025},
  url       = {https://data.humdata.org/dataset/total-covid-19-tests-performed-by-country},
  note      = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
}

Electric Sheep Africa — Africa's ML dataset infrastructure. Lagos, Nigeria.

Downloads last month
28