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.09 16.9B | esa_source stringclasses 1
value | esa_processed stringdate 2026-04-11 00:00:00 2026-04-11 00:00:00 |
|---|---|---|---|---|---|---|---|
Ghana | GHA | 2,006 | Forest area (% of land area) | AG.LND.FRST.ZS | 36.499965 | HDX | 2026-04-11 |
Ghana | GHA | 1,980 | Fertilizer consumption (kilograms per hectare of arable land) | AG.CON.FERT.ZS | 6.315789 | HDX | 2026-04-11 |
Ghana | GHA | 1,986 | Agricultural land (sq. km) | AG.LND.AGRI.K2 | 123,600 | HDX | 2026-04-11 |
Ghana | GHA | 2,001 | Arable land (hectares per person) | AG.LND.ARBL.HA.PC | 0.18808 | HDX | 2026-04-11 |
Ghana | GHA | 2,001 | Agriculture, forestry, and fishing, value added (% of GDP) | NV.AGR.TOTL.ZS | 35.2418 | HDX | 2026-04-11 |
Ghana | GHA | 1,985 | Agricultural land (sq. km) | AG.LND.AGRI.K2 | 123,680 | HDX | 2026-04-11 |
Ghana | GHA | 1,993 | Cereal production (metric tons) | AG.PRD.CREL.MT | 1,644,700 | HDX | 2026-04-11 |
Ghana | GHA | 1,979 | Agricultural land (sq. km) | AG.LND.AGRI.K2 | 119,000 | HDX | 2026-04-11 |
Ghana | GHA | 2,004 | Forest area (sq. km) | AG.LND.FRST.K2 | 84,863.38 | HDX | 2026-04-11 |
Ghana | GHA | 1,999 | Economically active population in agriculture (number) | EN.AGR.EMPL | 4,708,000 | HDX | 2026-04-11 |
Ghana | GHA | 2,021 | Cereal yield (kg per hectare) | AG.YLD.CREL.KG | 2,360.5 | HDX | 2026-04-11 |
Ghana | GHA | 2,003 | Cereal yield (kg per hectare) | AG.YLD.CREL.KG | 1,396.4 | HDX | 2026-04-11 |
Ghana | GHA | 1,969 | Rural population growth (annual %) | SP.RUR.TOTL.ZG | 1.909369 | HDX | 2026-04-11 |
Ghana | GHA | 2,002 | Land area (sq. km) | AG.LND.TOTL.K2 | 227,540 | HDX | 2026-04-11 |
Ghana | GHA | 1,992 | Livestock production index (2014-2016 = 100) | AG.PRD.LVSK.XD | 51.6 | HDX | 2026-04-11 |
Ghana | GHA | 2,007 | Employment in agriculture, male (% of male employment) (modeled ILO estimate) | SL.AGR.EMPL.MA.ZS | 60.821911 | HDX | 2026-04-11 |
Ghana | GHA | 1,981 | Agriculture, forestry, and fishing, value added (% of GDP) | NV.AGR.TOTL.ZS | 53.084295 | HDX | 2026-04-11 |
Ghana | GHA | 2,021 | Agricultural land (% of land area) | AG.LND.AGRI.ZS | 55.39302 | HDX | 2026-04-11 |
Ghana | GHA | 2,008 | Average precipitation in depth (mm per year) | AG.LND.PRCP.MM | 1,187 | HDX | 2026-04-11 |
Ghana | GHA | 1,972 | Annual freshwater withdrawals, agriculture (% of total freshwater withdrawal) | ER.H2O.FWAG.ZS | 54.727904 | HDX | 2026-04-11 |
Ghana | GHA | 1,967 | Arable land (% of land area) | AG.LND.ARBL.ZS | 7.471214 | HDX | 2026-04-11 |
Ghana | GHA | 2,020 | Livestock production index (2014-2016 = 100) | AG.PRD.LVSK.XD | 115.62 | HDX | 2026-04-11 |
Ghana | GHA | 2,019 | Agriculture, forestry, and fishing, value added (% of GDP) | NV.AGR.TOTL.ZS | 17.32323 | HDX | 2026-04-11 |
Ghana | GHA | 2,023 | Forest area (% of land area) | AG.LND.FRST.ZS | 35.192196 | HDX | 2026-04-11 |
Ghana | GHA | 1,971 | Rural population | SP.RUR.TOTL | 6,488,924 | HDX | 2026-04-11 |
Ghana | GHA | 1,989 | Rural population (% of total population) | SP.RUR.TOTL.ZS | 65.020382 | HDX | 2026-04-11 |
Ghana | GHA | 1,978 | Land area (sq. km) | AG.LND.TOTL.K2 | 227,540 | HDX | 2026-04-11 |
Ghana | GHA | 2,018 | Employment in agriculture (% of total employment) (modeled ILO estimate) | SL.AGR.EMPL.ZS | 39.896551 | HDX | 2026-04-11 |
Ghana | GHA | 2,011 | Average precipitation in depth (mm per year) | AG.LND.PRCP.MM | 1,187 | HDX | 2026-04-11 |
Ghana | GHA | 2,003 | Forest area (sq. km) | AG.LND.FRST.K2 | 85,769.06 | HDX | 2026-04-11 |
Ghana | GHA | 1,990 | Rural land area where elevation is below 5 meters (sq. km) | AG.LND.EL5M.RU.K2 | 1,522.876459 | HDX | 2026-04-11 |
Ghana | GHA | 2,001 | Rural population (% of total population) | SP.RUR.TOTL.ZS | 55.358949 | HDX | 2026-04-11 |
Ghana | GHA | 1,965 | Cereal yield (kg per hectare) | AG.YLD.CREL.KG | 809.2 | HDX | 2026-04-11 |
Ghana | GHA | 1,995 | Food production index (2014-2016 = 100) | AG.PRD.FOOD.XD | 42.36 | HDX | 2026-04-11 |
Ghana | GHA | 1,966 | Average precipitation in depth (mm per year) | AG.LND.PRCP.MM | 1,187 | HDX | 2026-04-11 |
Ghana | GHA | 2,017 | Cereal yield (kg per hectare) | AG.YLD.CREL.KG | 1,930.7 | HDX | 2026-04-11 |
Ghana | GHA | 1,975 | Rural population | SP.RUR.TOTL | 7,190,968 | HDX | 2026-04-11 |
Ghana | GHA | 1,971 | Crop production index (2014-2016 = 100) | AG.PRD.CROP.XD | 24.79 | HDX | 2026-04-11 |
Ghana | GHA | 2,002 | Rural population (% of total population) | SP.RUR.TOTL.ZS | 54.651531 | HDX | 2026-04-11 |
Ghana | GHA | 1,981 | Land under cereal production (hectares) | AG.LND.CREL.HA | 843,000 | HDX | 2026-04-11 |
Ghana | GHA | 1,996 | Employment in agriculture, female (% of female employment) (modeled ILO estimate) | SL.AGR.EMPL.FE.ZS | 61.524344 | HDX | 2026-04-11 |
Ghana | GHA | 1,986 | Arable land (hectares) | AG.LND.ARBL.HA | 2,400,000 | HDX | 2026-04-11 |
Ghana | GHA | 1,981 | Arable land (hectares) | AG.LND.ARBL.HA | 1,900,000 | HDX | 2026-04-11 |
Ghana | GHA | 1,997 | Surface area (sq. km) | AG.SRF.TOTL.K2 | 238,540 | HDX | 2026-04-11 |
Ghana | GHA | 2,020 | Rural population growth (annual %) | SP.RUR.TOTL.ZG | 0.873156 | HDX | 2026-04-11 |
Ghana | GHA | 1,972 | Rural population | SP.RUR.TOTL | 6,650,053 | HDX | 2026-04-11 |
Ghana | GHA | 1,986 | Agricultural land (% of land area) | AG.LND.AGRI.ZS | 54.32012 | HDX | 2026-04-11 |
Ghana | GHA | 1,967 | Permanent cropland (% of land area) | AG.LND.CROP.ZS | 7.031731 | HDX | 2026-04-11 |
Ghana | GHA | 1,991 | Employment in agriculture, female (% of female employment) (modeled ILO estimate) | SL.AGR.EMPL.FE.ZS | 66.474165 | HDX | 2026-04-11 |
Ghana | GHA | 2,009 | Arable land (hectares per person) | AG.LND.ARBL.HA.PC | 0.168087 | HDX | 2026-04-11 |
Ghana | GHA | 2,001 | Agricultural land (% of land area) | AG.LND.AGRI.ZS | 56.684674 | HDX | 2026-04-11 |
Ghana | GHA | 2,014 | Permanent cropland (% of land area) | AG.LND.CROP.ZS | 10.744255 | HDX | 2026-04-11 |
Ghana | GHA | 1,984 | Crop production index (2014-2016 = 100) | AG.PRD.CROP.XD | 23.15 | HDX | 2026-04-11 |
Ghana | GHA | 1,990 | Land area (sq. km) | AG.LND.TOTL.K2 | 227,540 | HDX | 2026-04-11 |
Ghana | GHA | 1,976 | Agricultural raw materials exports (% of merchandise exports) | TX.VAL.AGRI.ZS.UN | 9.231034 | HDX | 2026-04-11 |
Ghana | GHA | 1,963 | Rural population | SP.RUR.TOTL | 5,613,876 | HDX | 2026-04-11 |
Ghana | GHA | 1,969 | Arable land (hectares per person) | AG.LND.ARBL.HA.PC | 0.195619 | HDX | 2026-04-11 |
Ghana | GHA | 2,020 | Arable land (hectares) | AG.LND.ARBL.HA | 4,709,900 | HDX | 2026-04-11 |
Ghana | GHA | 1,980 | Agriculture, forestry, and fishing, value added (% of GDP) | NV.AGR.TOTL.ZS | 57.920284 | HDX | 2026-04-11 |
Ghana | GHA | 1,966 | Arable land (hectares per person) | AG.LND.ARBL.HA.PC | 0.210539 | HDX | 2026-04-11 |
Ghana | GHA | 1,987 | Rural population growth (annual %) | SP.RUR.TOTL.ZG | 1.416296 | HDX | 2026-04-11 |
Ghana | GHA | 2,023 | Agricultural land (sq. km) | AG.LND.AGRI.K2 | 126,037.4 | HDX | 2026-04-11 |
Ghana | GHA | 2,013 | Cereal yield (kg per hectare) | AG.YLD.CREL.KG | 1,688.8 | HDX | 2026-04-11 |
Ghana | GHA | 1,989 | Economically active population in agriculture (number) | EN.AGR.EMPL | 3,496,000 | HDX | 2026-04-11 |
Ghana | GHA | 2,003 | Access to electricity, rural (% of rural population) | EG.ELC.ACCS.RU.ZS | 24 | HDX | 2026-04-11 |
Ghana | GHA | 1,961 | Land area (sq. km) | AG.LND.TOTL.K2 | 227,540 | HDX | 2026-04-11 |
Ghana | GHA | 1,961 | Livestock production index (2014-2016 = 100) | AG.PRD.LVSK.XD | 18.07 | HDX | 2026-04-11 |
Ghana | GHA | 1,981 | Rural population | SP.RUR.TOTL | 8,444,309 | HDX | 2026-04-11 |
Ghana | GHA | 1,964 | Crop production index (2014-2016 = 100) | AG.PRD.CROP.XD | 21.54 | HDX | 2026-04-11 |
Ghana | GHA | 1,997 | Agriculture, forestry, and fishing, value added (current US$) | NV.AGR.TOTL.CD | 2,465,868,473.99363 | HDX | 2026-04-11 |
Ghana | GHA | 1,967 | Rural population (% of total population) | SP.RUR.TOTL.ZS | 72.269117 | HDX | 2026-04-11 |
Ghana | GHA | 1,974 | Surface area (sq. km) | AG.SRF.TOTL.K2 | 238,540 | HDX | 2026-04-11 |
Ghana | GHA | 1,993 | Cereal yield (kg per hectare) | AG.YLD.CREL.KG | 1,340.2 | HDX | 2026-04-11 |
Ghana | GHA | 1,995 | Cereal production (metric tons) | AG.PRD.CREL.MT | 1,796,920 | HDX | 2026-04-11 |
Ghana | GHA | 1,994 | Arable land (hectares) | AG.LND.ARBL.HA | 2,800,000 | HDX | 2026-04-11 |
Ghana | GHA | 2,023 | Agricultural raw materials exports (% of merchandise exports) | TX.VAL.AGRI.ZS.UN | 1.11582 | HDX | 2026-04-11 |
Ghana | GHA | 1,989 | Arable land (hectares per person) | AG.LND.ARBL.HA.PC | 0.173255 | HDX | 2026-04-11 |
Ghana | GHA | 1,999 | Forest area (sq. km) | AG.LND.FRST.K2 | 89,561.75 | HDX | 2026-04-11 |
Ghana | GHA | 1,986 | Economically active population in agriculture (number) | EN.AGR.EMPL | 3,253,000 | HDX | 2026-04-11 |
Ghana | GHA | 1,985 | Permanent cropland (% of land area) | AG.LND.CROP.ZS | 6.891096 | HDX | 2026-04-11 |
Ghana | GHA | 1,977 | Arable land (% of land area) | AG.LND.ARBL.ZS | 7.910697 | HDX | 2026-04-11 |
Ghana | GHA | 2,010 | Average precipitation in depth (mm per year) | AG.LND.PRCP.MM | 1,187 | HDX | 2026-04-11 |
Ghana | GHA | 2,014 | Surface area (sq. km) | AG.SRF.TOTL.K2 | 238,540 | HDX | 2026-04-11 |
Ghana | GHA | 1,978 | Annual freshwater withdrawals, agriculture (% of total freshwater withdrawal) | ER.H2O.FWAG.ZS | 59.822911 | HDX | 2026-04-11 |
Ghana | GHA | 1,989 | Average precipitation in depth (mm per year) | AG.LND.PRCP.MM | 1,187 | HDX | 2026-04-11 |
Ghana | GHA | 2,009 | Rural population | SP.RUR.TOTL | 12,403,703 | HDX | 2026-04-11 |
Ghana | GHA | 1,982 | Crop production index (2014-2016 = 100) | AG.PRD.CROP.XD | 17.93 | HDX | 2026-04-11 |
Ghana | GHA | 1,966 | Rural population growth (annual %) | SP.RUR.TOTL.ZG | 1.589635 | HDX | 2026-04-11 |
Ghana | GHA | 1,998 | Employment in agriculture, female (% of female employment) (modeled ILO estimate) | SL.AGR.EMPL.FE.ZS | 59.011996 | HDX | 2026-04-11 |
Ghana | GHA | 1,961 | Surface area (sq. km) | AG.SRF.TOTL.K2 | 238,540 | HDX | 2026-04-11 |
Ghana | GHA | 1,964 | Agriculture, forestry, and fishing, value added (% of GDP) | NV.AGR.TOTL.ZS | 35.355987 | HDX | 2026-04-11 |
Ghana | GHA | 1,992 | Agricultural raw materials exports (% of merchandise exports) | TX.VAL.AGRI.ZS.UN | 8.444342 | HDX | 2026-04-11 |
Ghana | GHA | 1,965 | Land area (sq. km) | AG.LND.TOTL.K2 | 227,540 | HDX | 2026-04-11 |
Ghana | GHA | 2,022 | Agricultural raw materials exports (% of merchandise exports) | TX.VAL.AGRI.ZS.UN | 1.344823 | HDX | 2026-04-11 |
Ghana | GHA | 1,971 | Permanent cropland (% of land area) | AG.LND.CROP.ZS | 7.031731 | HDX | 2026-04-11 |
Ghana | GHA | 1,968 | Crop production index (2014-2016 = 100) | AG.PRD.CROP.XD | 20.69 | HDX | 2026-04-11 |
Ghana | GHA | 1,971 | Cereal production (metric tons) | AG.PRD.CREL.MT | 823,100 | HDX | 2026-04-11 |
Ghana | GHA | 1,997 | Cereal production (metric tons) | AG.PRD.CREL.MT | 1,669,220.67 | HDX | 2026-04-11 |
Ghana | GHA | 1,967 | Rural population | SP.RUR.TOTL | 5,978,038 | HDX | 2026-04-11 |
Ghana | GHA | 1,993 | Permanent cropland (% of land area) | AG.LND.CROP.ZS | 7.031731 | HDX | 2026-04-11 |
Ghana - 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: GHA.
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,740 |
| Columns | 8 (2 numeric, 6 categorical, 0 datetime) |
| Train split | 1,392 rows |
| Test split | 348 rows |
| Geographic scope | GHA |
| Publisher | World Bank Group |
| HDX last updated | 2026-03-27 |
Variables
Geographic — country_name (Ghana), country_iso3 (GHA), year (range 1960.0–2025.0).
Outcome / Measurement — value (range 0.0882–17191485762.4444).
Identifier / Metadata — indicator_name (Rural population, Agriculture, forestry, and fishing, value added (current US$), Agriculture, forestry, and fishing, value added (% of GDP)), indicator_code (SP.RUR.TOTL, NV.AGR.TOTL.CD, NV.AGR.TOTL.ZS), esa_source (HDX), esa_processed (2026-04-11).
Quick Start
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-world-bank-agriculture-and-rural-development-indicators-for-ghana")
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% | Ghana |
country_iso3 |
object | 0.0% | GHA |
year |
int64 | 0.0% | 1960.0 – 2025.0 (mean 1994.1431) |
indicator_name |
object | 0.0% | Rural population, Agriculture, forestry, and fishing, value added (current US$), Agriculture, forestry, and fishing, value added (% of GDP) |
indicator_code |
object | 0.0% | SP.RUR.TOTL, NV.AGR.TOTL.CD, NV.AGR.TOTL.ZS |
value |
float64 | 0.0% | 0.0882 – 17191485762.4444 (mean 174822764.6465) |
esa_source |
object | 0.0% | HDX |
esa_processed |
object | 0.0% | 2026-04-11 |
Numeric Summary
| Column | Min | Max | Mean | Median |
|---|---|---|---|---|
year |
1960.0 | 2025.0 | 1994.1431 | 1996.0 |
value |
0.0882 | 17191485762.4444 | 174822764.6465 | 63.5644 |
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_ghana,
title = {Ghana - Agriculture and Rural Development},
author = {World Bank Group},
year = {2026},
url = {https://data.humdata.org/dataset/world-bank-agriculture-and-rural-development-indicators-for-ghana},
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
- 30