Datasets:
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 0 11.7B | esa_source stringclasses 1
value | esa_processed stringdate 2026-04-09 00:00:00 2026-04-09 00:00:00 |
|---|---|---|---|---|---|---|---|
Uganda | UGA | 2,006 | Agriculture, forestry, and fishing, value added (current US$) | NV.AGR.TOTL.CD | 2,398,120,933.96841 | HDX | 2026-04-09 |
Uganda | UGA | 1,992 | Land under cereal production (hectares) | AG.LND.CREL.HA | 1,139,000 | HDX | 2026-04-09 |
Uganda | UGA | 1,995 | Agricultural raw materials exports (% of merchandise exports) | TX.VAL.AGRI.ZS.UN | 4.366704 | HDX | 2026-04-09 |
Uganda | UGA | 2,005 | Forest area (% of land area) | AG.LND.FRST.ZS | 14.797483 | HDX | 2026-04-09 |
Uganda | UGA | 1,998 | Forest area (sq. km) | AG.LND.FRST.K2 | 32,454.54 | HDX | 2026-04-09 |
Uganda | UGA | 1,994 | Forest area (sq. km) | AG.LND.FRST.K2 | 34,104.62 | HDX | 2026-04-09 |
Uganda | UGA | 1,971 | Permanent cropland (% of land area) | AG.LND.CROP.ZS | 6.155848 | HDX | 2026-04-09 |
Uganda | UGA | 1,983 | Rural population growth (annual %) | SP.RUR.TOTL.ZG | 2.178065 | HDX | 2026-04-09 |
Uganda | UGA | 2,009 | Surface area (sq. km) | AG.SRF.TOTL.K2 | 241,550 | HDX | 2026-04-09 |
Uganda | UGA | 1,977 | Average precipitation in depth (mm per year) | AG.LND.PRCP.MM | 1,180 | HDX | 2026-04-09 |
Uganda | UGA | 1,969 | Agriculture, forestry, and fishing, value added (% of GDP) | NV.AGR.TOTL.ZS | 45.369594 | HDX | 2026-04-09 |
Uganda | UGA | 2,023 | Agriculture, forestry, and fishing, value added (current US$) | NV.AGR.TOTL.CD | 11,748,234,048.0943 | HDX | 2026-04-09 |
Uganda | UGA | 1,967 | Rural population | SP.RUR.TOTL | 8,861,855 | HDX | 2026-04-09 |
Uganda | UGA | 2,015 | Rural population growth (annual %) | SP.RUR.TOTL.ZG | 2.033777 | HDX | 2026-04-09 |
Uganda | UGA | 1,998 | Livestock production index (2014-2016 = 100) | AG.PRD.LVSK.XD | 49.08 | HDX | 2026-04-09 |
Uganda | UGA | 1,963 | Food production index (2014-2016 = 100) | AG.PRD.FOOD.XD | 40.27 | HDX | 2026-04-09 |
Uganda | UGA | 2,019 | Agricultural raw materials exports (% of merchandise exports) | TX.VAL.AGRI.ZS.UN | 3.442222 | HDX | 2026-04-09 |
Uganda | UGA | 2,011 | Employment in agriculture, female (% of female employment) (modeled ILO estimate) | SL.AGR.EMPL.FE.ZS | 69.060988 | HDX | 2026-04-09 |
Uganda | UGA | 1,999 | Arable land (hectares) | AG.LND.ARBL.HA | 5,100,000 | HDX | 2026-04-09 |
Uganda | UGA | 1,994 | Arable land (hectares) | AG.LND.ARBL.HA | 5,060,000 | HDX | 2026-04-09 |
Uganda | UGA | 2,007 | Land area (sq. km) | AG.LND.TOTL.K2 | 199,810 | HDX | 2026-04-09 |
Uganda | UGA | 2,001 | Agricultural raw materials imports (% of merchandise imports) | TM.VAL.AGRI.ZS.UN | 2.471946 | HDX | 2026-04-09 |
Uganda | UGA | 2,013 | Forest area (% of land area) | AG.LND.FRST.ZS | 13.099262 | HDX | 2026-04-09 |
Uganda | UGA | 1,999 | Agricultural land (% of land area) | AG.LND.AGRI.ZS | 61.3683 | HDX | 2026-04-09 |
Uganda | UGA | 1,984 | Rural population growth (annual %) | SP.RUR.TOTL.ZG | 2.333171 | HDX | 2026-04-09 |
Uganda | UGA | 2,021 | Average precipitation in depth (mm per year) | AG.LND.PRCP.MM | 1,180 | HDX | 2026-04-09 |
Uganda | UGA | 2,022 | Arable land (hectares per person) | AG.LND.ARBL.HA.PC | 0.145838 | HDX | 2026-04-09 |
Uganda | UGA | 2,014 | Agricultural land (% of land area) | AG.LND.AGRI.ZS | 71.888091 | HDX | 2026-04-09 |
Uganda | UGA | 1,998 | Land under cereal production (hectares) | AG.LND.CREL.HA | 1,366,000 | HDX | 2026-04-09 |
Uganda | UGA | 2,017 | Employment in agriculture, male (% of male employment) (modeled ILO estimate) | SL.AGR.EMPL.MA.ZS | 66.661328 | HDX | 2026-04-09 |
Uganda | UGA | 2,014 | Forest area (sq. km) | AG.LND.FRST.K2 | 25,854.12 | HDX | 2026-04-09 |
Uganda | UGA | 1,996 | Average precipitation in depth (mm per year) | AG.LND.PRCP.MM | 1,180 | HDX | 2026-04-09 |
Uganda | UGA | 2,024 | Employment in agriculture, male (% of male employment) (modeled ILO estimate) | SL.AGR.EMPL.MA.ZS | 59.965775 | HDX | 2026-04-09 |
Uganda | UGA | 1,982 | Arable land (hectares per person) | AG.LND.ARBL.HA.PC | 0.301291 | HDX | 2026-04-09 |
Uganda | UGA | 1,970 | Agricultural land (% of land area) | AG.LND.AGRI.ZS | 49.94745 | HDX | 2026-04-09 |
Uganda | UGA | 1,983 | Rural population | SP.RUR.TOTL | 13,165,877 | HDX | 2026-04-09 |
Uganda | UGA | 1,979 | Arable land (hectares per person) | AG.LND.ARBL.HA.PC | 0.313794 | HDX | 2026-04-09 |
Uganda | UGA | 1,993 | Average precipitation in depth (mm per year) | AG.LND.PRCP.MM | 1,180 | HDX | 2026-04-09 |
Uganda | UGA | 1,973 | Fertilizer consumption (kilograms per hectare of arable land) | AG.CON.FERT.ZS | 1.842821 | HDX | 2026-04-09 |
Uganda | UGA | 1,993 | Food production index (2014-2016 = 100) | AG.PRD.FOOD.XD | 80.33 | HDX | 2026-04-09 |
Uganda | UGA | 1,988 | Economically active population in agriculture (number) | EN.AGR.EMPL | 6,260,000 | HDX | 2026-04-09 |
Uganda | UGA | 1,965 | Cereal yield (kg per hectare) | AG.YLD.CREL.KG | 910.5 | HDX | 2026-04-09 |
Uganda | UGA | 1,962 | Cereal production (metric tons) | AG.PRD.CREL.MT | 902,000 | HDX | 2026-04-09 |
Uganda | UGA | 1,998 | Forest area (% of land area) | AG.LND.FRST.ZS | 16.242701 | HDX | 2026-04-09 |
Uganda | UGA | 1,989 | Land under cereal production (hectares) | AG.LND.CREL.HA | 1,079,083 | HDX | 2026-04-09 |
Uganda | UGA | 1,974 | Surface area (sq. km) | AG.SRF.TOTL.K2 | 241,550 | HDX | 2026-04-09 |
Uganda | UGA | 2,000 | Land under cereal production (hectares) | AG.LND.CREL.HA | 1,372,000 | HDX | 2026-04-09 |
Uganda | UGA | 1,967 | Land area (sq. km) | AG.LND.TOTL.K2 | 199,810 | HDX | 2026-04-09 |
Uganda | UGA | 2,007 | Arable land (hectares) | AG.LND.ARBL.HA | 6,250,000 | HDX | 2026-04-09 |
Uganda | UGA | 1,972 | Land area (sq. km) | AG.LND.TOTL.K2 | 199,810 | HDX | 2026-04-09 |
Uganda | UGA | 2,002 | Arable land (hectares per person) | AG.LND.ARBL.HA.PC | 0.219325 | HDX | 2026-04-09 |
Uganda | UGA | 1,964 | Permanent cropland (% of land area) | AG.LND.CROP.ZS | 5.445173 | HDX | 2026-04-09 |
Uganda | UGA | 1,998 | Employment in agriculture, male (% of male employment) (modeled ILO estimate) | SL.AGR.EMPL.MA.ZS | 57.371784 | HDX | 2026-04-09 |
Uganda | UGA | 1,984 | Agriculture, forestry, and fishing, value added (% of GDP) | NV.AGR.TOTL.ZS | 49.75668 | HDX | 2026-04-09 |
Uganda | UGA | 1,990 | Arable land (% of land area) | AG.LND.ARBL.ZS | 25.023773 | HDX | 2026-04-09 |
Uganda | UGA | 2,004 | Employment in agriculture, male (% of male employment) (modeled ILO estimate) | SL.AGR.EMPL.MA.ZS | 57.765109 | HDX | 2026-04-09 |
Uganda | UGA | 1,979 | Rural population (% of total population) | SP.RUR.TOTL.ZS | 93.349453 | HDX | 2026-04-09 |
Uganda | UGA | 1,975 | Agriculture, forestry, and fishing, value added (% of GDP) | NV.AGR.TOTL.ZS | 70.615935 | HDX | 2026-04-09 |
Uganda | UGA | 1,980 | Average precipitation in depth (mm per year) | AG.LND.PRCP.MM | 1,180 | HDX | 2026-04-09 |
Uganda | UGA | 2,005 | Employment in agriculture (% of total employment) (modeled ILO estimate) | SL.AGR.EMPL.ZS | 61.56856 | HDX | 2026-04-09 |
Uganda | UGA | 1,995 | Agriculture, forestry, and fishing, value added (% of GDP) | NV.AGR.TOTL.ZS | 45.295388 | HDX | 2026-04-09 |
Uganda | UGA | 2,012 | Employment in agriculture, male (% of male employment) (modeled ILO estimate) | SL.AGR.EMPL.MA.ZS | 61.463905 | HDX | 2026-04-09 |
Uganda | UGA | 2,018 | Cereal yield (kg per hectare) | AG.YLD.CREL.KG | 1,338 | HDX | 2026-04-09 |
Uganda | UGA | 1,999 | Rural population growth (annual %) | SP.RUR.TOTL.ZG | 3.019104 | HDX | 2026-04-09 |
Uganda | UGA | 2,012 | Average precipitation in depth (mm per year) | AG.LND.PRCP.MM | 1,180 | HDX | 2026-04-09 |
Uganda | UGA | 2,003 | Land area (sq. km) | AG.LND.TOTL.K2 | 199,810 | HDX | 2026-04-09 |
Uganda | UGA | 1,981 | Agriculture, forestry, and fishing, value added (current US$) | NV.AGR.TOTL.CD | 780,000,000 | HDX | 2026-04-09 |
Uganda | UGA | 2,002 | Forest area (sq. km) | AG.LND.FRST.K2 | 30,804.44 | HDX | 2026-04-09 |
Uganda | UGA | 2,002 | Surface area (sq. km) | AG.SRF.TOTL.K2 | 241,550 | HDX | 2026-04-09 |
Uganda | UGA | 2,003 | Annual freshwater withdrawals, agriculture (% of total freshwater withdrawal) | ER.H2O.FWAG.ZS | 35.136517 | HDX | 2026-04-09 |
Uganda | UGA | 2,000 | Land area (sq. km) | AG.LND.TOTL.K2 | 199,810 | HDX | 2026-04-09 |
Uganda | UGA | 1,976 | Agriculture, forestry, and fishing, value added (current US$) | NV.AGR.TOTL.CD | 1,758,900,000 | HDX | 2026-04-09 |
Uganda | UGA | 2,005 | Rural population (% of total population) | SP.RUR.TOTL.ZS | 86.209276 | HDX | 2026-04-09 |
Uganda | UGA | 1,980 | Livestock production index (2014-2016 = 100) | AG.PRD.LVSK.XD | 30.88 | HDX | 2026-04-09 |
Uganda | UGA | 1,998 | Agricultural raw materials imports (% of merchandise imports) | TM.VAL.AGRI.ZS.UN | 2.307036 | HDX | 2026-04-09 |
Uganda | UGA | 1,994 | Rural population (% of total population) | SP.RUR.TOTL.ZS | 89.431134 | HDX | 2026-04-09 |
Uganda | UGA | 2,008 | Surface area (sq. km) | AG.SRF.TOTL.K2 | 241,550 | HDX | 2026-04-09 |
Uganda | UGA | 1,976 | Crop production index (2014-2016 = 100) | AG.PRD.CROP.XD | 86.48 | HDX | 2026-04-09 |
Uganda | UGA | 1,991 | Agriculture, forestry, and fishing, value added (% of GDP) | NV.AGR.TOTL.ZS | 49.372541 | HDX | 2026-04-09 |
Uganda | UGA | 2,011 | Arable land (hectares per person) | AG.LND.ARBL.HA.PC | 0.205369 | HDX | 2026-04-09 |
Uganda | UGA | 2,014 | Employment in agriculture, female (% of female employment) (modeled ILO estimate) | SL.AGR.EMPL.FE.ZS | 76.770451 | HDX | 2026-04-09 |
Uganda | UGA | 1,998 | Rural population (% of total population) | SP.RUR.TOTL.ZS | 88.778639 | HDX | 2026-04-09 |
Uganda | UGA | 1,993 | Arable land (% of land area) | AG.LND.ARBL.ZS | 25.223963 | HDX | 2026-04-09 |
Uganda | UGA | 1,966 | Food production index (2014-2016 = 100) | AG.PRD.FOOD.XD | 37.35 | HDX | 2026-04-09 |
Uganda | UGA | 1,989 | Arable land (hectares) | AG.LND.ARBL.HA | 5,000,000 | HDX | 2026-04-09 |
Uganda | UGA | 1,974 | Agriculture, forestry, and fishing, value added (% of GDP) | NV.AGR.TOTL.ZS | 60.487705 | HDX | 2026-04-09 |
Uganda | UGA | 2,021 | Rural population | SP.RUR.TOTL | 32,488,275 | HDX | 2026-04-09 |
Uganda | UGA | 2,022 | Agricultural raw materials exports (% of merchandise exports) | TX.VAL.AGRI.ZS.UN | 3.079453 | HDX | 2026-04-09 |
Uganda | UGA | 1,982 | Land under cereal production (hectares) | AG.LND.CREL.HA | 835,000 | HDX | 2026-04-09 |
Uganda | UGA | 2,008 | Agricultural raw materials exports (% of merchandise exports) | TX.VAL.AGRI.ZS.UN | 5.719958 | HDX | 2026-04-09 |
Uganda | UGA | 1,963 | Rural population growth (annual %) | SP.RUR.TOTL.ZG | 2.708519 | HDX | 2026-04-09 |
Uganda | UGA | 2,017 | Arable land (hectares) | AG.LND.ARBL.HA | 6,900,000 | HDX | 2026-04-09 |
Uganda | UGA | 2,022 | Cereal yield (kg per hectare) | AG.YLD.CREL.KG | 1,963.9 | HDX | 2026-04-09 |
Uganda | UGA | 1,999 | Economically active population in agriculture (number) | EN.AGR.EMPL | 8,231,000 | HDX | 2026-04-09 |
Uganda | UGA | 1,994 | Food production index (2014-2016 = 100) | AG.PRD.FOOD.XD | 81.04 | HDX | 2026-04-09 |
Uganda | UGA | 1,978 | Fertilizer consumption (kilograms per hectare of arable land) | AG.CON.FERT.ZS | 0.073529 | HDX | 2026-04-09 |
Uganda | UGA | 1,974 | Rural population (% of total population) | SP.RUR.TOTL.ZS | 93.6235 | HDX | 2026-04-09 |
Uganda | UGA | 2,015 | Employment in agriculture, male (% of male employment) (modeled ILO estimate) | SL.AGR.EMPL.MA.ZS | 66.841493 | HDX | 2026-04-09 |
Uganda | UGA | 1,992 | Employment in agriculture, female (% of female employment) (modeled ILO estimate) | SL.AGR.EMPL.FE.ZS | 65.838618 | HDX | 2026-04-09 |
Uganda | UGA | 1,984 | Rural population (% of total population) | SP.RUR.TOTL.ZS | 92.257453 | HDX | 2026-04-09 |
Uganda - 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: UGA.
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,704 |
| Columns | 8 (2 numeric, 6 categorical, 0 datetime) |
| Train split | 1,363 rows |
| Test split | 340 rows |
| Geographic scope | UGA |
| Publisher | World Bank Group |
| HDX last updated | 2026-03-27 |
Variables
Geographic — country_name (Uganda), country_iso3 (UGA), year (range 1960.0–2025.0).
Outcome / Measurement — value (range 0.0–13272545772.3208).
Identifier / Metadata — indicator_name (Rural population, Rural population (% of total population), Agriculture, forestry, and fishing, value added (% of GDP)), indicator_code (SP.RUR.TOTL, SP.RUR.TOTL.ZS, NV.AGR.TOTL.ZS), esa_source (HDX), esa_processed (2026-04-09).
Quick Start
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-world-bank-agriculture-and-rural-development-indicators-for-uganda")
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% | Uganda |
country_iso3 |
object | 0.0% | UGA |
year |
int64 | 0.0% | 1960.0 – 2025.0 (mean 1994.48) |
indicator_name |
object | 0.0% | Rural population, Rural population (% of total population), Agriculture, forestry, and fishing, value added (% of GDP) |
indicator_code |
object | 0.0% | SP.RUR.TOTL, SP.RUR.TOTL.ZS, NV.AGR.TOTL.ZS |
value |
float64 | 0.0% | 0.0 – 13272545772.3208 (mean 127921756.4441) |
esa_source |
object | 0.0% | HDX |
esa_processed |
object | 0.0% | 2026-04-09 |
Numeric Summary
| Column | Min | Max | Mean | Median |
|---|---|---|---|---|
year |
1960.0 | 2025.0 | 1994.48 | 1996.0 |
value |
0.0 | 13272545772.3208 | 127921756.4441 | 82.8838 |
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_uganda,
title = {Uganda - Agriculture and Rural Development},
author = {World Bank Group},
year = {2026},
url = {https://data.humdata.org/dataset/world-bank-agriculture-and-rural-development-indicators-for-uganda},
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
- 35