Dataset Viewer
Auto-converted to Parquet Duplicate
country_name
stringclasses
1 value
country_iso3
stringclasses
1 value
year
int64
1.96k
2.03k
indicator_name
stringclasses
36 values
indicator_code
stringclasses
36 values
value
float64
-2.8
361M
esa_source
stringclasses
1 value
esa_processed
stringdate
2026-04-15 00:00:00
2026-04-15 00:00:00
Botswana
BWA
1,994
Forest area (% of land area)
AG.LND.FRST.ZS
32.344326
HDX
2026-04-15
Botswana
BWA
2,002
Arable land (hectares per person)
AG.LND.ARBL.HA.PC
0.14042
HDX
2026-04-15
Botswana
BWA
1,994
Agricultural land (% of land area)
AG.LND.AGRI.ZS
45.870167
HDX
2026-04-15
Botswana
BWA
2,009
Agricultural raw materials imports (% of merchandise imports)
TM.VAL.AGRI.ZS.UN
0.886958
HDX
2026-04-15
Botswana
BWA
2,016
Agricultural raw materials exports (% of merchandise exports)
TX.VAL.AGRI.ZS.UN
0.077986
HDX
2026-04-15
Botswana
BWA
2,013
Average precipitation in depth (mm per year)
AG.LND.PRCP.MM
416
HDX
2026-04-15
Botswana
BWA
1,998
Employment in agriculture, female (% of female employment) (modeled ILO estimate)
SL.AGR.EMPL.FE.ZS
6.940422
HDX
2026-04-15
Botswana
BWA
1,962
Arable land (hectares per person)
AG.LND.ARBL.HA.PC
0.738634
HDX
2026-04-15
Botswana
BWA
2,013
Arable land (hectares)
AG.LND.ARBL.HA
280,000
HDX
2026-04-15
Botswana
BWA
2,022
Arable land (% of land area)
AG.LND.ARBL.ZS
0.458772
HDX
2026-04-15
Botswana
BWA
1,978
Cereal production (metric tons)
AG.PRD.CREL.MT
34,200
HDX
2026-04-15
Botswana
BWA
2,016
Agricultural land (sq. km)
AG.LND.AGRI.K2
258,616
HDX
2026-04-15
Botswana
BWA
2,014
Food production index (2014-2016 = 100)
AG.PRD.FOOD.XD
99.91
HDX
2026-04-15
Botswana
BWA
1,988
Economically active population in agriculture (number)
EN.AGR.EMPL
211,000
HDX
2026-04-15
Botswana
BWA
1,982
Cereal yield (kg per hectare)
AG.YLD.CREL.KG
287.9
HDX
2026-04-15
Botswana
BWA
1,961
Land area (sq. km)
AG.LND.TOTL.K2
566,730
HDX
2026-04-15
Botswana
BWA
1,993
Rural population growth (annual %)
SP.RUR.TOTL.ZG
0.835646
HDX
2026-04-15
Botswana
BWA
1,989
Livestock production index (2014-2016 = 100)
AG.PRD.LVSK.XD
66.23
HDX
2026-04-15
Botswana
BWA
1,986
Rural population growth (annual %)
SP.RUR.TOTL.ZG
-1.9246
HDX
2026-04-15
Botswana
BWA
1,990
Forest area (% of land area)
AG.LND.FRST.ZS
33.179292
HDX
2026-04-15
Botswana
BWA
1,990
Food production index (2014-2016 = 100)
AG.PRD.FOOD.XD
71.85
HDX
2026-04-15
Botswana
BWA
1,987
Arable land (hectares)
AG.LND.ARBL.HA
409,000
HDX
2026-04-15
Botswana
BWA
2,019
Average precipitation in depth (mm per year)
AG.LND.PRCP.MM
416
HDX
2026-04-15
Botswana
BWA
1,982
Arable land (hectares per person)
AG.LND.ARBL.HA.PC
0.401281
HDX
2026-04-15
Botswana
BWA
1,999
Cereal yield (kg per hectare)
AG.YLD.CREL.KG
228.5
HDX
2026-04-15
Botswana
BWA
2,007
Employment in agriculture, male (% of male employment) (modeled ILO estimate)
SL.AGR.EMPL.MA.ZS
27.386538
HDX
2026-04-15
Botswana
BWA
2,016
Surface area (sq. km)
AG.SRF.TOTL.K2
581,730
HDX
2026-04-15
Botswana
BWA
2,009
Forest area (% of land area)
AG.LND.FRST.ZS
29.213206
HDX
2026-04-15
Botswana
BWA
1,978
Permanent cropland (% of land area)
AG.LND.CROP.ZS
0.001765
HDX
2026-04-15
Botswana
BWA
1,991
Access to electricity, rural (% of rural population)
EG.ELC.ACCS.RU.ZS
3.973637
HDX
2026-04-15
Botswana
BWA
2,014
Agricultural raw materials exports (% of merchandise exports)
TX.VAL.AGRI.ZS.UN
0.192205
HDX
2026-04-15
Botswana
BWA
2,018
Livestock production index (2014-2016 = 100)
AG.PRD.LVSK.XD
81.98
HDX
2026-04-15
Botswana
BWA
1,994
Economically active population in agriculture (number)
EN.AGR.EMPL
230,000
HDX
2026-04-15
Botswana
BWA
1,974
Cereal production (metric tons)
AG.PRD.CREL.MT
110,750
HDX
2026-04-15
Botswana
BWA
2,016
Cereal yield (kg per hectare)
AG.YLD.CREL.KG
361.5
HDX
2026-04-15
Botswana
BWA
2,010
Agricultural irrigated land (% of total agricultural land)
AG.LND.IRIG.AG.ZS
0.0029
HDX
2026-04-15
Botswana
BWA
2,017
Access to electricity, rural (% of rural population)
EG.ELC.ACCS.RU.ZS
31
HDX
2026-04-15
Botswana
BWA
1,988
Agriculture, forestry, and fishing, value added (current US$)
NV.AGR.TOTL.CD
148,940,056.480738
HDX
2026-04-15
Botswana
BWA
1,966
Cereal yield (kg per hectare)
AG.YLD.CREL.KG
439.9
HDX
2026-04-15
Botswana
BWA
1,969
Cereal production (metric tons)
AG.PRD.CREL.MT
50,075
HDX
2026-04-15
Botswana
BWA
2,019
Access to electricity, rural (% of rural population)
EG.ELC.ACCS.RU.ZS
27.9
HDX
2026-04-15
Botswana
BWA
2,012
Forest area (% of land area)
AG.LND.FRST.ZS
28.586981
HDX
2026-04-15
Botswana
BWA
1,981
Land under cereal production (hectares)
AG.LND.CREL.HA
196,900
HDX
2026-04-15
Botswana
BWA
1,996
Land under cereal production (hectares)
AG.LND.CREL.HA
276,883
HDX
2026-04-15
Botswana
BWA
2,012
Livestock production index (2014-2016 = 100)
AG.PRD.LVSK.XD
134.5
HDX
2026-04-15
Botswana
BWA
1,968
Cereal production (metric tons)
AG.PRD.CREL.MT
25,943
HDX
2026-04-15
Botswana
BWA
1,965
Rural population
SP.RUR.TOTL
552,633
HDX
2026-04-15
Botswana
BWA
1,978
Livestock production index (2014-2016 = 100)
AG.PRD.LVSK.XD
52.08
HDX
2026-04-15
Botswana
BWA
1,994
Access to electricity, rural (% of rural population)
EG.ELC.ACCS.RU.ZS
4.853424
HDX
2026-04-15
Botswana
BWA
2,012
Access to electricity, rural (% of rural population)
EG.ELC.ACCS.RU.ZS
25.3
HDX
2026-04-15
Botswana
BWA
1,991
Arable land (hectares per person)
AG.LND.ARBL.HA.PC
0.223588
HDX
2026-04-15
Botswana
BWA
2,022
Employment in agriculture, female (% of female employment) (modeled ILO estimate)
SL.AGR.EMPL.FE.ZS
9.031241
HDX
2026-04-15
Botswana
BWA
2,011
Rural population (% of total population)
SP.RUR.TOTL.ZS
35.981219
HDX
2026-04-15
Botswana
BWA
2,007
Rural population
SP.RUR.TOTL
749,530
HDX
2026-04-15
Botswana
BWA
1,996
Food production index (2014-2016 = 100)
AG.PRD.FOOD.XD
103.18
HDX
2026-04-15
Botswana
BWA
1,969
Arable land (hectares)
AG.LND.ARBL.HA
400,000
HDX
2026-04-15
Botswana
BWA
1,987
Crop production index (2014-2016 = 100)
AG.PRD.CROP.XD
68.71
HDX
2026-04-15
Botswana
BWA
1,996
Employment in agriculture (% of total employment) (modeled ILO estimate)
SL.AGR.EMPL.ZS
11.160967
HDX
2026-04-15
Botswana
BWA
2,004
Agricultural raw materials imports (% of merchandise imports)
TM.VAL.AGRI.ZS.UN
0.771642
HDX
2026-04-15
Botswana
BWA
1,978
Land under cereal production (hectares)
AG.LND.CREL.HA
127,300
HDX
2026-04-15
Botswana
BWA
1,994
Annual freshwater withdrawals, agriculture (% of total freshwater withdrawal)
ER.H2O.FWAG.ZS
45.422711
HDX
2026-04-15
Botswana
BWA
2,011
Agriculture, forestry, and fishing, value added (% of GDP)
NV.AGR.TOTL.ZS
2.118923
HDX
2026-04-15
Botswana
BWA
1,997
Arable land (hectares)
AG.LND.ARBL.HA
300,000
HDX
2026-04-15
Botswana
BWA
1,974
Agriculture, forestry, and fishing, value added (current US$)
NV.AGR.TOTL.CD
97,280,702.658074
HDX
2026-04-15
Botswana
BWA
2,000
Agricultural raw materials imports (% of merchandise imports)
TM.VAL.AGRI.ZS.UN
0.85285
HDX
2026-04-15
Botswana
BWA
1,992
Rural population (% of total population)
SP.RUR.TOTL.ZS
53.201471
HDX
2026-04-15
Botswana
BWA
2,021
Agricultural land (sq. km)
AG.LND.AGRI.K2
258,620
HDX
2026-04-15
Botswana
BWA
2,022
Employment in agriculture, male (% of male employment) (modeled ILO estimate)
SL.AGR.EMPL.MA.ZS
24.718995
HDX
2026-04-15
Botswana
BWA
2,024
Employment in agriculture, male (% of male employment) (modeled ILO estimate)
SL.AGR.EMPL.MA.ZS
26.500815
HDX
2026-04-15
Botswana
BWA
2,006
Forest area (% of land area)
AG.LND.FRST.ZS
29.83943
HDX
2026-04-15
Botswana
BWA
1,972
Rural population growth (annual %)
SP.RUR.TOTL.ZG
2.822739
HDX
2026-04-15
Botswana
BWA
1,995
Employment in agriculture, female (% of female employment) (modeled ILO estimate)
SL.AGR.EMPL.FE.ZS
5.946007
HDX
2026-04-15
Botswana
BWA
1,968
Arable land (% of land area)
AG.LND.ARBL.ZS
0.705803
HDX
2026-04-15
Botswana
BWA
2,000
Forest area (sq. km)
AG.LND.FRST.K2
176,207
HDX
2026-04-15
Botswana
BWA
1,977
Arable land (% of land area)
AG.LND.ARBL.ZS
0.707568
HDX
2026-04-15
Botswana
BWA
2,012
Employment in agriculture, male (% of male employment) (modeled ILO estimate)
SL.AGR.EMPL.MA.ZS
23.315212
HDX
2026-04-15
Botswana
BWA
2,008
Employment in agriculture, male (% of male employment) (modeled ILO estimate)
SL.AGR.EMPL.MA.ZS
25.890615
HDX
2026-04-15
Botswana
BWA
1,969
Rural population growth (annual %)
SP.RUR.TOTL.ZG
-0.713252
HDX
2026-04-15
Botswana
BWA
2,014
Crop production index (2014-2016 = 100)
AG.PRD.CROP.XD
93.14
HDX
2026-04-15
Botswana
BWA
1,969
Surface area (sq. km)
AG.SRF.TOTL.K2
581,730
HDX
2026-04-15
Botswana
BWA
1,976
Arable land (hectares per person)
AG.LND.ARBL.HA.PC
0.528669
HDX
2026-04-15
Botswana
BWA
2,006
Average precipitation in depth (mm per year)
AG.LND.PRCP.MM
416
HDX
2026-04-15
Botswana
BWA
1,968
Agriculture, forestry, and fishing, value added (% of GDP)
NV.AGR.TOTL.ZS
43.684211
HDX
2026-04-15
Botswana
BWA
1,997
Land area (sq. km)
AG.LND.TOTL.K2
566,730
HDX
2026-04-15
Botswana
BWA
1,981
Surface area (sq. km)
AG.SRF.TOTL.K2
581,730
HDX
2026-04-15
Botswana
BWA
1,998
Food production index (2014-2016 = 100)
AG.PRD.FOOD.XD
94.23
HDX
2026-04-15
Botswana
BWA
2,010
Cereal production (metric tons)
AG.PRD.CREL.MT
50,345
HDX
2026-04-15
Botswana
BWA
1,972
Arable land (hectares)
AG.LND.ARBL.HA
401,000
HDX
2026-04-15
Botswana
BWA
2,016
Average precipitation in depth (mm per year)
AG.LND.PRCP.MM
416
HDX
2026-04-15
Botswana
BWA
2,002
Employment in agriculture (% of total employment) (modeled ILO estimate)
SL.AGR.EMPL.ZS
11.997075
HDX
2026-04-15
Botswana
BWA
2,009
Arable land (hectares)
AG.LND.ARBL.HA
316,000
HDX
2026-04-15
Botswana
BWA
1,984
Crop production index (2014-2016 = 100)
AG.PRD.CROP.XD
62.32
HDX
2026-04-15
Botswana
BWA
1,987
Rural population (% of total population)
SP.RUR.TOTL.ZS
66.134204
HDX
2026-04-15
Botswana
BWA
2,022
Rural population
SP.RUR.TOTL
815,193
HDX
2026-04-15
Botswana
BWA
1,998
Agricultural land (sq. km)
AG.LND.AGRI.K2
258,310
HDX
2026-04-15
Botswana
BWA
1,985
Rural population (% of total population)
SP.RUR.TOTL.ZS
73.836357
HDX
2026-04-15
Botswana
BWA
1,996
Employment in agriculture, male (% of male employment) (modeled ILO estimate)
SL.AGR.EMPL.MA.ZS
14.873278
HDX
2026-04-15
Botswana
BWA
1,975
Rural population (% of total population)
SP.RUR.TOTL.ZS
87.884607
HDX
2026-04-15
Botswana
BWA
2,003
Employment in agriculture, female (% of female employment) (modeled ILO estimate)
SL.AGR.EMPL.FE.ZS
6.634105
HDX
2026-04-15
Botswana
BWA
2,014
Land under cereal production (hectares)
AG.LND.CREL.HA
164,658
HDX
2026-04-15
End of preview. Expand in Data Studio

Botswana - Agriculture and Rural Development

Publisher: World Bank Group · Source: HDX · License: cc-by · Updated: 2026-03-27


Abstract

Contains data from the World Bank's data portal. There is also a consolidated country dataset on HDX.

For the 70 percent of the world's poor who live in rural areas, agriculture is the main source of income and employment. But depletion and degradation of land and water pose serious challenges to producing enough food and other agricultural products to sustain livelihoods here and meet the needs of urban populations. Data presented here include measures of agricultural inputs, outputs, and productivity compiled by the UN's Food and Agriculture Organization.

Each row in this dataset represents country-level aggregates. Data was last updated on HDX on 2026-03-27. Geographic scope: BWA.

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


Dataset Characteristics

Domain Food security and nutrition
Unit of observation Country-level aggregates
Rows (total) 1,662
Columns 8 (2 numeric, 6 categorical, 0 datetime)
Train split 1,329 rows
Test split 332 rows
Geographic scope BWA
Publisher World Bank Group
HDX last updated 2026-03-27

Variables

Geographiccountry_name (Botswana), country_iso3 (BWA), year (range 1960.0–2025.0).

Outcome / Measurementvalue (range -2.8003–360619177.9882).

Identifier / Metadataindicator_name (Rural population, Agriculture, forestry, and fishing, value added (% of GDP), Agriculture, forestry, and fishing, value added (current US$)), indicator_code (SP.RUR.TOTL, NV.AGR.TOTL.ZS, NV.AGR.TOTL.CD), esa_source (HDX), esa_processed (2026-04-15).


Quick Start

from datasets import load_dataset

ds    = load_dataset("electricsheepafrica/africa-world-bank-agriculture-and-rural-development-indicators-for-botswana")
train = ds["train"].to_pandas()
test  = ds["test"].to_pandas()

print(train.shape)
train.head()

Schema

Column Type Null % Range / Sample Values
country_name object 0.0% Botswana
country_iso3 object 0.0% BWA
year int64 0.0% 1960.0 – 2025.0 (mean 1994.8953)
indicator_name object 0.0% Rural population, Agriculture, forestry, and fishing, value added (% of GDP), Agriculture, forestry, and fishing, value added (current US$)
indicator_code object 0.0% SP.RUR.TOTL, NV.AGR.TOTL.ZS, NV.AGR.TOTL.CD
value float64 0.0% -2.8003 – 360619177.9882 (mean 6399568.1684)
esa_source object 0.0% HDX
esa_processed object 0.0% 2026-04-15

Numeric Summary

Column Min Max Mean Median
year 1960.0 2025.0 1994.8953 1997.0
value -2.8003 360619177.9882 6399568.1684 72.61

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 World Bank Group and has not been independently validated by ESA.
  • Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
  • Refer to the original HDX dataset page for the publisher's own methodology notes and caveats.

Citation

@dataset{hdx_africa_world_bank_agriculture_and_rural_development_indicators_for_botswana,
  title     = {Botswana - Agriculture and Rural Development},
  author    = {World Bank Group},
  year      = {2026},
  url       = {https://data.humdata.org/dataset/world-bank-agriculture-and-rural-development-indicators-for-botswana},
  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
40

Collections including electricsheepafrica/africa-world-bank-agriculture-and-rural-development-indicators-for-botswana