Datasets:
country_name stringclasses 1
value | country_iso3 stringclasses 1
value | year int64 1.96k 2.03k | indicator_name stringclasses 37
values | indicator_code stringclasses 37
values | value float64 -0.94 10.6B | esa_source stringclasses 1
value | esa_processed stringdate 2026-04-10 00:00:00 2026-04-10 00:00:00 |
|---|---|---|---|---|---|---|---|
South Africa | ZAF | 2,018 | Arable land (% of land area) | AG.LND.ARBL.ZS | 9.892094 | HDX | 2026-04-10 |
South Africa | ZAF | 2,013 | Agricultural land (% of land area) | AG.LND.AGRI.ZS | 79.41785 | HDX | 2026-04-10 |
South Africa | ZAF | 1,964 | Average precipitation in depth (mm per year) | AG.LND.PRCP.MM | 495 | HDX | 2026-04-10 |
South Africa | ZAF | 1,993 | Land under cereal production (hectares) | AG.LND.CREL.HA | 5,928,140 | HDX | 2026-04-10 |
South Africa | ZAF | 1,994 | Livestock production index (2014-2016 = 100) | AG.PRD.LVSK.XD | 50.53 | HDX | 2026-04-10 |
South Africa | ZAF | 1,979 | Arable land (% of land area) | AG.LND.ARBL.ZS | 10.160829 | HDX | 2026-04-10 |
South Africa | ZAF | 2,015 | Cereal yield (kg per hectare) | AG.YLD.CREL.KG | 3,348.4 | HDX | 2026-04-10 |
South Africa | ZAF | 1,962 | Cereal yield (kg per hectare) | AG.YLD.CREL.KG | 1,142.1 | HDX | 2026-04-10 |
South Africa | ZAF | 1,974 | Food production index (2014-2016 = 100) | AG.PRD.FOOD.XD | 49.61 | HDX | 2026-04-10 |
South Africa | ZAF | 1,995 | Cereal yield (kg per hectare) | AG.YLD.CREL.KG | 1,419.2 | HDX | 2026-04-10 |
South Africa | ZAF | 2,020 | Forest area (sq. km) | AG.LND.FRST.K2 | 170,500.9 | HDX | 2026-04-10 |
South Africa | ZAF | 1,964 | Arable land (hectares per person) | AG.LND.ARBL.HA.PC | 0.656354 | HDX | 2026-04-10 |
South Africa | ZAF | 2,018 | Agricultural raw materials exports (% of merchandise exports) | TX.VAL.AGRI.ZS.UN | 2.322444 | HDX | 2026-04-10 |
South Africa | ZAF | 1,965 | Arable land (hectares) | AG.LND.ARBL.HA | 12,200,000 | HDX | 2026-04-10 |
South Africa | ZAF | 1,967 | Fertilizer consumption (% of fertilizer production) | AG.CON.FERT.PT.ZS | 101.548054 | HDX | 2026-04-10 |
South Africa | ZAF | 2,013 | Land area (sq. km) | AG.LND.TOTL.K2 | 1,213,090 | HDX | 2026-04-10 |
South Africa | ZAF | 1,965 | Surface area (sq. km) | AG.SRF.TOTL.K2 | 1,219,090 | HDX | 2026-04-10 |
South Africa | ZAF | 1,998 | Land area (sq. km) | AG.LND.TOTL.K2 | 1,213,090 | HDX | 2026-04-10 |
South Africa | ZAF | 1,980 | Fertilizer consumption (% of fertilizer production) | AG.CON.FERT.PT.ZS | 115.188095 | HDX | 2026-04-10 |
South Africa | ZAF | 1,986 | Fertilizer consumption (kilograms per hectare of arable land) | AG.CON.FERT.ZS | 66.103413 | HDX | 2026-04-10 |
South Africa | ZAF | 2,001 | Arable land (hectares) | AG.LND.ARBL.HA | 13,685,000 | HDX | 2026-04-10 |
South Africa | ZAF | 2,008 | Agriculture, forestry, and fishing, value added (current US$) | NV.AGR.TOTL.CD | 8,132,441,116.76927 | HDX | 2026-04-10 |
South Africa | ZAF | 1,985 | Arable land (hectares per person) | AG.LND.ARBL.HA.PC | 0.352576 | HDX | 2026-04-10 |
South Africa | ZAF | 1,985 | Fertilizer consumption (kilograms per hectare of arable land) | AG.CON.FERT.ZS | 70.968758 | HDX | 2026-04-10 |
South Africa | ZAF | 2,018 | Livestock production index (2014-2016 = 100) | AG.PRD.LVSK.XD | 98.07 | HDX | 2026-04-10 |
South Africa | ZAF | 1,979 | Fertilizer consumption (kilograms per hectare of arable land) | AG.CON.FERT.ZS | 78.292715 | HDX | 2026-04-10 |
South Africa | ZAF | 1,981 | Agricultural raw materials imports (% of merchandise imports) | TM.VAL.AGRI.ZS.UN | 2.185736 | HDX | 2026-04-10 |
South Africa | ZAF | 1,999 | Economically active population in agriculture (number) | EN.AGR.EMPL | 1,506,000 | HDX | 2026-04-10 |
South Africa | ZAF | 1,995 | Cereal production (metric tons) | AG.PRD.CREL.MT | 7,514,386.6 | HDX | 2026-04-10 |
South Africa | ZAF | 1,993 | Agricultural raw materials imports (% of merchandise imports) | TM.VAL.AGRI.ZS.UN | 2.286556 | HDX | 2026-04-10 |
South Africa | ZAF | 1,998 | Forest area (sq. km) | AG.LND.FRST.K2 | 178,508.9 | HDX | 2026-04-10 |
South Africa | ZAF | 2,000 | Land under cereal production (hectares) | AG.LND.CREL.HA | 5,260,171 | HDX | 2026-04-10 |
South Africa | ZAF | 2,009 | Employment in agriculture, female (% of female employment) (modeled ILO estimate) | SL.AGR.EMPL.FE.ZS | 3.661054 | HDX | 2026-04-10 |
South Africa | ZAF | 1,975 | Food production index (2014-2016 = 100) | AG.PRD.FOOD.XD | 48.44 | HDX | 2026-04-10 |
South Africa | ZAF | 2,014 | Agriculture, forestry, and fishing, value added (% of GDP) | NV.AGR.TOTL.ZS | 2.125749 | HDX | 2026-04-10 |
South Africa | ZAF | 2,021 | Agricultural land (sq. km) | AG.LND.AGRI.K2 | 963,410 | HDX | 2026-04-10 |
South Africa | ZAF | 1,971 | Land area (sq. km) | AG.LND.TOTL.K2 | 1,213,090 | HDX | 2026-04-10 |
South Africa | ZAF | 1,981 | Arable land (% of land area) | AG.LND.ARBL.ZS | 10.175667 | HDX | 2026-04-10 |
South Africa | ZAF | 2,007 | Arable land (% of land area) | AG.LND.ARBL.ZS | 10.386698 | HDX | 2026-04-10 |
South Africa | ZAF | 2,013 | Employment in agriculture, female (% of female employment) (modeled ILO estimate) | SL.AGR.EMPL.FE.ZS | 3.517428 | HDX | 2026-04-10 |
South Africa | ZAF | 2,004 | Cereal yield (kg per hectare) | AG.YLD.CREL.KG | 2,777.9 | HDX | 2026-04-10 |
South Africa | ZAF | 1,983 | Land under cereal production (hectares) | AG.LND.CREL.HA | 6,950,000 | HDX | 2026-04-10 |
South Africa | ZAF | 1,969 | Crop production index (2014-2016 = 100) | AG.PRD.CROP.XD | 46.35 | HDX | 2026-04-10 |
South Africa | ZAF | 2,011 | Food production index (2014-2016 = 100) | AG.PRD.FOOD.XD | 89.21 | HDX | 2026-04-10 |
South Africa | ZAF | 2,020 | Forest area (% of land area) | AG.LND.FRST.ZS | 14.055091 | HDX | 2026-04-10 |
South Africa | ZAF | 1,988 | Arable land (% of land area) | AG.LND.ARBL.ZS | 10.386698 | HDX | 2026-04-10 |
South Africa | ZAF | 2,024 | Agricultural raw materials exports (% of merchandise exports) | TX.VAL.AGRI.ZS.UN | 2.086919 | HDX | 2026-04-10 |
South Africa | ZAF | 1,987 | Cereal production (metric tons) | AG.PRD.CREL.MT | 12,096,954 | HDX | 2026-04-10 |
South Africa | ZAF | 2,018 | Employment in agriculture, female (% of female employment) (modeled ILO estimate) | SL.AGR.EMPL.FE.ZS | 3.886963 | HDX | 2026-04-10 |
South Africa | ZAF | 2,010 | Surface area (sq. km) | AG.SRF.TOTL.K2 | 1,219,090 | HDX | 2026-04-10 |
South Africa | ZAF | 1,994 | Agriculture, forestry, and fishing, value added (% of GDP) | NV.AGR.TOTL.ZS | 3.755448 | HDX | 2026-04-10 |
South Africa | ZAF | 1,990 | Agriculture, forestry, and fishing, value added (% of GDP) | NV.AGR.TOTL.ZS | 3.777056 | HDX | 2026-04-10 |
South Africa | ZAF | 2,012 | Access to electricity, rural (% of rural population) | EG.ELC.ACCS.RU.ZS | 82.6 | HDX | 2026-04-10 |
South Africa | ZAF | 1,996 | Arable land (% of land area) | AG.LND.ARBL.ZS | 11.252257 | HDX | 2026-04-10 |
South Africa | ZAF | 1,980 | Agriculture, forestry, and fishing, value added (% of GDP) | NV.AGR.TOTL.ZS | 5.304651 | HDX | 2026-04-10 |
South Africa | ZAF | 2,014 | Rural population | SP.RUR.TOTL | 20,494,908 | HDX | 2026-04-10 |
South Africa | ZAF | 2,012 | Crop production index (2014-2016 = 100) | AG.PRD.CROP.XD | 97.74 | HDX | 2026-04-10 |
South Africa | ZAF | 1,975 | Permanent cropland (% of land area) | AG.LND.CROP.ZS | 0.226694 | HDX | 2026-04-10 |
South Africa | ZAF | 2,021 | Employment in agriculture, male (% of male employment) (modeled ILO estimate) | SL.AGR.EMPL.MA.ZS | 7.230242 | HDX | 2026-04-10 |
South Africa | ZAF | 1,988 | Rural population growth (annual %) | SP.RUR.TOTL.ZG | 1.763036 | HDX | 2026-04-10 |
South Africa | ZAF | 1,986 | Agricultural land (% of land area) | AG.LND.AGRI.ZS | 77.817804 | HDX | 2026-04-10 |
South Africa | ZAF | 1,981 | Agricultural land (% of land area) | AG.LND.AGRI.ZS | 77.524339 | HDX | 2026-04-10 |
South Africa | ZAF | 2,020 | Annual freshwater withdrawals, agriculture (% of total freshwater withdrawal) | ER.H2O.FWAG.ZS | 62.479182 | HDX | 2026-04-10 |
South Africa | ZAF | 1,971 | Rural population | SP.RUR.TOTL | 11,964,499 | HDX | 2026-04-10 |
South Africa | ZAF | 1,966 | Permanent cropland (% of land area) | AG.LND.CROP.ZS | 0.177233 | HDX | 2026-04-10 |
South Africa | ZAF | 1,986 | Agricultural land (sq. km) | AG.LND.AGRI.K2 | 944,000 | HDX | 2026-04-10 |
South Africa | ZAF | 2,000 | Agriculture, forestry, and fishing, value added (% of GDP) | NV.AGR.TOTL.ZS | 2.614748 | HDX | 2026-04-10 |
South Africa | ZAF | 2,017 | Cereal yield (kg per hectare) | AG.YLD.CREL.KG | 5,331.8 | HDX | 2026-04-10 |
South Africa | ZAF | 2,009 | Arable land (hectares) | AG.LND.ARBL.HA | 12,660,000 | HDX | 2026-04-10 |
South Africa | ZAF | 2,001 | Agricultural land (sq. km) | AG.LND.AGRI.K2 | 980,130 | HDX | 2026-04-10 |
South Africa | ZAF | 2,007 | Employment in agriculture (% of total employment) (modeled ILO estimate) | SL.AGR.EMPL.ZS | 5.667952 | HDX | 2026-04-10 |
South Africa | ZAF | 2,001 | Agricultural raw materials exports (% of merchandise exports) | TX.VAL.AGRI.ZS.UN | 3.28863 | HDX | 2026-04-10 |
South Africa | ZAF | 1,979 | Rural population | SP.RUR.TOTL | 14,800,153 | HDX | 2026-04-10 |
South Africa | ZAF | 1,975 | Rural population | SP.RUR.TOTL | 13,342,006 | HDX | 2026-04-10 |
South Africa | ZAF | 2,016 | Employment in agriculture, male (% of male employment) (modeled ILO estimate) | SL.AGR.EMPL.MA.ZS | 6.809342 | HDX | 2026-04-10 |
South Africa | ZAF | 1,969 | Arable land (hectares) | AG.LND.ARBL.HA | 12,236,000 | HDX | 2026-04-10 |
South Africa | ZAF | 2,020 | Agricultural land (% of land area) | AG.LND.AGRI.ZS | 79.41785 | HDX | 2026-04-10 |
South Africa | ZAF | 1,987 | Agriculture, forestry, and fishing, value added (current US$) | NV.AGR.TOTL.CD | 4,466,037,632.98532 | HDX | 2026-04-10 |
South Africa | ZAF | 1,966 | Arable land (hectares) | AG.LND.ARBL.HA | 12,209,000 | HDX | 2026-04-10 |
South Africa | ZAF | 1,981 | Livestock production index (2014-2016 = 100) | AG.PRD.LVSK.XD | 45.55 | HDX | 2026-04-10 |
South Africa | ZAF | 2,023 | Fertilizer consumption (kilograms per hectare of arable land) | AG.CON.FERT.ZS | 77.186583 | HDX | 2026-04-10 |
South Africa | ZAF | 1,993 | Food production index (2014-2016 = 100) | AG.PRD.FOOD.XD | 61.06 | HDX | 2026-04-10 |
South Africa | ZAF | 1,989 | Economically active population in agriculture (number) | EN.AGR.EMPL | 1,620,000 | HDX | 2026-04-10 |
South Africa | ZAF | 1,996 | Access to electricity, rural (% of rural population) | EG.ELC.ACCS.RU.ZS | 23.79161 | HDX | 2026-04-10 |
South Africa | ZAF | 1,985 | Agriculture, forestry, and fishing, value added (% of GDP) | NV.AGR.TOTL.ZS | 4.285844 | HDX | 2026-04-10 |
South Africa | ZAF | 2,001 | Livestock production index (2014-2016 = 100) | AG.PRD.LVSK.XD | 58.3 | HDX | 2026-04-10 |
South Africa | ZAF | 2,009 | Cereal production (metric tons) | AG.PRD.CREL.MT | 14,570,877.03 | HDX | 2026-04-10 |
South Africa | ZAF | 1,993 | Agricultural raw materials exports (% of merchandise exports) | TX.VAL.AGRI.ZS.UN | 2.847082 | HDX | 2026-04-10 |
South Africa | ZAF | 2,013 | Forest area (% of land area) | AG.LND.FRST.ZS | 14.265133 | HDX | 2026-04-10 |
South Africa | ZAF | 1,989 | Crop production index (2014-2016 = 100) | AG.PRD.CROP.XD | 81.1 | HDX | 2026-04-10 |
South Africa | ZAF | 2,008 | Employment in agriculture, male (% of male employment) (modeled ILO estimate) | SL.AGR.EMPL.MA.ZS | 6.592941 | HDX | 2026-04-10 |
South Africa | ZAF | 1,989 | Rural population | SP.RUR.TOTL | 19,265,276 | HDX | 2026-04-10 |
South Africa | ZAF | 1,985 | Cereal production (metric tons) | AG.PRD.CREL.MT | 11,062,037 | HDX | 2026-04-10 |
South Africa | ZAF | 1,994 | Agricultural land (% of land area) | AG.LND.AGRI.ZS | 80.179542 | HDX | 2026-04-10 |
South Africa | ZAF | 2,023 | Cereal production (metric tons) | AG.PRD.CREL.MT | 19,009,087.33 | HDX | 2026-04-10 |
South Africa | ZAF | 1,989 | Arable land (hectares) | AG.LND.ARBL.HA | 12,700,000 | HDX | 2026-04-10 |
South Africa | ZAF | 2,019 | Cereal yield (kg per hectare) | AG.YLD.CREL.KG | 4,101.6 | HDX | 2026-04-10 |
South Africa | ZAF | 1,980 | Agricultural raw materials imports (% of merchandise imports) | TM.VAL.AGRI.ZS.UN | 2.518536 | HDX | 2026-04-10 |
South Africa | ZAF | 1,985 | Cereal yield (kg per hectare) | AG.YLD.CREL.KG | 1,575.9 | HDX | 2026-04-10 |
South Africa | ZAF | 1,977 | Arable land (hectares per person) | AG.LND.ARBL.HA.PC | 0.453852 | HDX | 2026-04-10 |
South Africa - 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: ZAF.
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,761 |
| Columns | 8 (2 numeric, 6 categorical, 0 datetime) |
| Train split | 1,408 rows |
| Test split | 352 rows |
| Geographic scope | ZAF |
| Publisher | World Bank Group |
| HDX last updated | 2026-03-27 |
Variables
Geographic — country_name (South Africa), country_iso3 (ZAF), year (range 1960.0–2025.0).
Outcome / Measurement — value (range -0.9385–11276969219.4595).
Identifier / Metadata — indicator_name (Rural population (% of total population), Agriculture, forestry, and fishing, value added (current US$), Agriculture, forestry, and fishing, value added (% of GDP)), indicator_code (SP.RUR.TOTL.ZS, NV.AGR.TOTL.CD, NV.AGR.TOTL.ZS), esa_source (HDX), esa_processed (2026-04-10).
Quick Start
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-world-bank-agriculture-and-rural-development-indicators-for-south-africa")
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% | South Africa |
country_iso3 |
object | 0.0% | ZAF |
year |
int64 | 0.0% | 1960.0 – 2025.0 (mean 1994.5974) |
indicator_name |
object | 0.0% | Rural population (% of total 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.ZS, NV.AGR.TOTL.CD, NV.AGR.TOTL.ZS |
value |
float64 | 0.0% | -0.9385 – 11276969219.4595 (mean 182793295.1279) |
esa_source |
object | 0.0% | HDX |
esa_processed |
object | 0.0% | 2026-04-10 |
Numeric Summary
| Column | Min | Max | Mean | Median |
|---|---|---|---|---|
year |
1960.0 | 2025.0 | 1994.5974 | 1996.0 |
value |
-0.9385 | 11276969219.4595 | 182793295.1279 | 79.4179 |
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_south_africa,
title = {South Africa - Agriculture and Rural Development},
author = {World Bank Group},
year = {2026},
url = {https://data.humdata.org/dataset/world-bank-agriculture-and-rural-development-indicators-for-south-africa},
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
- 56