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.17 18.7B | esa_source stringclasses 1
value | esa_processed stringdate 2026-04-12 00:00:00 2026-04-12 00:00:00 |
|---|---|---|---|---|---|---|---|
Tanzania | TZA | 1,984 | Fertilizer consumption (kilograms per hectare of arable land) | AG.CON.FERT.ZS | 4.5375 | HDX | 2026-04-12 |
Tanzania | TZA | 2,013 | Employment in agriculture (% of total employment) (modeled ILO estimate) | SL.AGR.EMPL.ZS | 67.467438 | HDX | 2026-04-12 |
Tanzania | TZA | 1,984 | Surface area (sq. km) | AG.SRF.TOTL.K2 | 947,300 | HDX | 2026-04-12 |
Tanzania | TZA | 2,019 | Cereal yield (kg per hectare) | AG.YLD.CREL.KG | 1,883.5 | HDX | 2026-04-12 |
Tanzania | TZA | 2,008 | Annual freshwater withdrawals, agriculture (% of total freshwater withdrawal) | ER.H2O.FWAG.ZS | 89.351852 | HDX | 2026-04-12 |
Tanzania | TZA | 1,966 | Land area (sq. km) | AG.LND.TOTL.K2 | 885,800 | HDX | 2026-04-12 |
Tanzania | TZA | 1,991 | Arable land (% of land area) | AG.LND.ARBL.ZS | 10.163694 | HDX | 2026-04-12 |
Tanzania | TZA | 1,971 | Food production index (2014-2016 = 100) | AG.PRD.FOOD.XD | 18.54 | HDX | 2026-04-12 |
Tanzania | TZA | 1,969 | Cereal yield (kg per hectare) | AG.YLD.CREL.KG | 638.5 | HDX | 2026-04-12 |
Tanzania | TZA | 1,973 | Cereal production (metric tons) | AG.PRD.CREL.MT | 1,572,340 | HDX | 2026-04-12 |
Tanzania | TZA | 2,018 | Arable land (hectares) | AG.LND.ARBL.HA | 13,139,700 | HDX | 2026-04-12 |
Tanzania | TZA | 1,999 | Rural population (% of total population) | SP.RUR.TOTL.ZS | 78.179154 | HDX | 2026-04-12 |
Tanzania | TZA | 2,013 | Arable land (hectares per person) | AG.LND.ARBL.HA.PC | 0.250546 | HDX | 2026-04-12 |
Tanzania | TZA | 2,014 | Agriculture, forestry, and fishing, value added (current US$) | NV.AGR.TOTL.CD | 12,897,863,808.5156 | HDX | 2026-04-12 |
Tanzania | TZA | 2,014 | Employment in agriculture (% of total employment) (modeled ILO estimate) | SL.AGR.EMPL.ZS | 66.833667 | HDX | 2026-04-12 |
Tanzania | TZA | 2,013 | Surface area (sq. km) | AG.SRF.TOTL.K2 | 947,300 | HDX | 2026-04-12 |
Tanzania | TZA | 1,997 | Employment in agriculture, female (% of female employment) (modeled ILO estimate) | SL.AGR.EMPL.FE.ZS | 76.056732 | HDX | 2026-04-12 |
Tanzania | TZA | 2,012 | Agriculture, forestry, and fishing, value added (current US$) | NV.AGR.TOTL.CD | 10,527,547,072.5031 | HDX | 2026-04-12 |
Tanzania | TZA | 2,003 | Agriculture, forestry, and fishing, value added (current US$) | NV.AGR.TOTL.CD | 3,790,595,138.71207 | HDX | 2026-04-12 |
Tanzania | TZA | 2,020 | Rural population | SP.RUR.TOTL | 40,330,625 | HDX | 2026-04-12 |
Tanzania | TZA | 1,962 | Rural population (% of total population) | SP.RUR.TOTL.ZS | 95.080994 | HDX | 2026-04-12 |
Tanzania | TZA | 1,993 | Employment in agriculture, male (% of male employment) (modeled ILO estimate) | SL.AGR.EMPL.MA.ZS | 71.607497 | HDX | 2026-04-12 |
Tanzania | TZA | 1,996 | Surface area (sq. km) | AG.SRF.TOTL.K2 | 947,300 | HDX | 2026-04-12 |
Tanzania | TZA | 1,995 | Surface area (sq. km) | AG.SRF.TOTL.K2 | 947,300 | HDX | 2026-04-12 |
Tanzania | TZA | 1,995 | Average precipitation in depth (mm per year) | AG.LND.PRCP.MM | 1,071 | HDX | 2026-04-12 |
Tanzania | TZA | 2,019 | Agriculture, forestry, and fishing, value added (current US$) | NV.AGR.TOTL.CD | 16,229,639,462.2473 | HDX | 2026-04-12 |
Tanzania | TZA | 2,010 | Land under cereal production (hectares) | AG.LND.CREL.HA | 5,244,863 | HDX | 2026-04-12 |
Tanzania | TZA | 2,009 | Cereal production (metric tons) | AG.PRD.CREL.MT | 5,807,305 | HDX | 2026-04-12 |
Tanzania | TZA | 2,000 | Agricultural raw materials exports (% of merchandise exports) | TX.VAL.AGRI.ZS.UN | 11.080983 | HDX | 2026-04-12 |
Tanzania | TZA | 2,022 | Forest area (sq. km) | AG.LND.FRST.K2 | 448,070 | HDX | 2026-04-12 |
Tanzania | TZA | 2,023 | Access to electricity, rural (% of rural population) | EG.ELC.ACCS.RU.ZS | 27.9 | HDX | 2026-04-12 |
Tanzania | TZA | 1,981 | Arable land (% of land area) | AG.LND.ARBL.ZS | 9.031384 | HDX | 2026-04-12 |
Tanzania | TZA | 2,015 | Surface area (sq. km) | AG.SRF.TOTL.K2 | 947,300 | HDX | 2026-04-12 |
Tanzania | TZA | 2,008 | Cereal production (metric tons) | AG.PRD.CREL.MT | 7,651,930 | HDX | 2026-04-12 |
Tanzania | TZA | 2,003 | Forest area (sq. km) | AG.LND.FRST.K2 | 525,540.1 | HDX | 2026-04-12 |
Tanzania | TZA | 1,963 | Food production index (2014-2016 = 100) | AG.PRD.FOOD.XD | 15.45 | HDX | 2026-04-12 |
Tanzania | TZA | 1,987 | Land area (sq. km) | AG.LND.TOTL.K2 | 885,800 | HDX | 2026-04-12 |
Tanzania | TZA | 1,986 | Cereal yield (kg per hectare) | AG.YLD.CREL.KG | 1,126.6 | HDX | 2026-04-12 |
Tanzania | TZA | 2,022 | Arable land (hectares per person) | AG.LND.ARBL.HA.PC | 0.208656 | HDX | 2026-04-12 |
Tanzania | TZA | 1,962 | Rural population growth (annual %) | SP.RUR.TOTL.ZG | 2.885795 | HDX | 2026-04-12 |
Tanzania | TZA | 2,002 | Surface area (sq. km) | AG.SRF.TOTL.K2 | 947,300 | HDX | 2026-04-12 |
Tanzania | TZA | 1,970 | Permanent cropland (% of land area) | AG.LND.CROP.ZS | 1.128923 | HDX | 2026-04-12 |
Tanzania | TZA | 1,990 | Agriculture, forestry, and fishing, value added (% of GDP) | NV.AGR.TOTL.ZS | 28.95472 | HDX | 2026-04-12 |
Tanzania | TZA | 2,000 | Arable land (hectares) | AG.LND.ARBL.HA | 8,600,000 | HDX | 2026-04-12 |
Tanzania | TZA | 1,993 | Livestock production index (2014-2016 = 100) | AG.PRD.LVSK.XD | 49.07 | HDX | 2026-04-12 |
Tanzania | TZA | 2,002 | Rural population | SP.RUR.TOTL | 27,802,318 | HDX | 2026-04-12 |
Tanzania | TZA | 2,017 | Agricultural raw materials exports (% of merchandise exports) | TX.VAL.AGRI.ZS.UN | 3.75183 | HDX | 2026-04-12 |
Tanzania | TZA | 2,001 | Cereal production (metric tons) | AG.PRD.CREL.MT | 4,537,267.3 | HDX | 2026-04-12 |
Tanzania | TZA | 1,984 | Economically active population in agriculture (number) | EN.AGR.EMPL | 8,810,000 | HDX | 2026-04-12 |
Tanzania | TZA | 2,012 | Agriculture, forestry, and fishing, value added (% of GDP) | NV.AGR.TOTL.ZS | 26.550927 | HDX | 2026-04-12 |
Tanzania | TZA | 1,965 | Agricultural land (% of land area) | AG.LND.AGRI.ZS | 30.480921 | HDX | 2026-04-12 |
Tanzania | TZA | 1,997 | Annual freshwater withdrawals, agriculture (% of total freshwater withdrawal) | ER.H2O.FWAG.ZS | 83.104675 | HDX | 2026-04-12 |
Tanzania | TZA | 2,016 | Employment in agriculture, male (% of male employment) (modeled ILO estimate) | SL.AGR.EMPL.MA.ZS | 64.744881 | HDX | 2026-04-12 |
Tanzania | TZA | 2,014 | Agriculture, forestry, and fishing, value added (% of GDP) | NV.AGR.TOTL.ZS | 25.802577 | HDX | 2026-04-12 |
Tanzania | TZA | 1,989 | Fertilizer consumption (kilograms per hectare of arable land) | AG.CON.FERT.ZS | 4.922222 | HDX | 2026-04-12 |
Tanzania | TZA | 2,018 | Agriculture, forestry, and fishing, value added (current US$) | NV.AGR.TOTL.CD | 15,886,136,433.1293 | HDX | 2026-04-12 |
Tanzania | TZA | 1,993 | Permanent cropland (% of land area) | AG.LND.CROP.ZS | 1.128923 | HDX | 2026-04-12 |
Tanzania | TZA | 2,022 | Rural population (% of total population) | SP.RUR.TOTL.ZS | 65.176526 | HDX | 2026-04-12 |
Tanzania | TZA | 2,018 | Access to electricity, rural (% of rural population) | EG.ELC.ACCS.RU.ZS | 18.1 | HDX | 2026-04-12 |
Tanzania | TZA | 2,002 | Employment in agriculture, male (% of male employment) (modeled ILO estimate) | SL.AGR.EMPL.MA.ZS | 70.35847 | HDX | 2026-04-12 |
Tanzania | TZA | 1,999 | Arable land (% of land area) | AG.LND.ARBL.ZS | 9.82163 | HDX | 2026-04-12 |
Tanzania | TZA | 1,975 | Permanent cropland (% of land area) | AG.LND.CROP.ZS | 1.128923 | HDX | 2026-04-12 |
Tanzania | TZA | 2,008 | Arable land (% of land area) | AG.LND.ARBL.ZS | 12.785843 | HDX | 2026-04-12 |
Tanzania | TZA | 2,023 | Employment in agriculture, male (% of male employment) (modeled ILO estimate) | SL.AGR.EMPL.MA.ZS | 63.196638 | HDX | 2026-04-12 |
Tanzania | TZA | 2,015 | Employment in agriculture (% of total employment) (modeled ILO estimate) | SL.AGR.EMPL.ZS | 66.427904 | HDX | 2026-04-12 |
Tanzania | TZA | 1,998 | Rural population (% of total population) | SP.RUR.TOTL.ZS | 78.529264 | HDX | 2026-04-12 |
Tanzania | TZA | 2,007 | Agriculture, forestry, and fishing, value added (current US$) | NV.AGR.TOTL.CD | 5,081,564,805.39943 | HDX | 2026-04-12 |
Tanzania | TZA | 2,016 | Surface area (sq. km) | AG.SRF.TOTL.K2 | 947,300 | HDX | 2026-04-12 |
Tanzania | TZA | 2,007 | Arable land (hectares per person) | AG.LND.ARBL.HA.PC | 0.259883 | HDX | 2026-04-12 |
Tanzania | TZA | 2,007 | Forest area (% of land area) | AG.LND.FRST.ZS | 57.649594 | HDX | 2026-04-12 |
Tanzania | TZA | 1,974 | Rural population growth (annual %) | SP.RUR.TOTL.ZG | 2.439131 | HDX | 2026-04-12 |
Tanzania | TZA | 1,991 | Forest area (sq. km) | AG.LND.FRST.K2 | 570,180.1 | HDX | 2026-04-12 |
Tanzania | TZA | 1,965 | Livestock production index (2014-2016 = 100) | AG.PRD.LVSK.XD | 19.82 | HDX | 2026-04-12 |
Tanzania | TZA | 2,016 | Rural population growth (annual %) | SP.RUR.TOTL.ZG | 2.602286 | HDX | 2026-04-12 |
Tanzania | TZA | 2,023 | Forest area (sq. km) | AG.LND.FRST.K2 | 443,380 | HDX | 2026-04-12 |
Tanzania | TZA | 2,003 | Arable land (hectares) | AG.LND.ARBL.HA | 8,540,000 | HDX | 2026-04-12 |
Tanzania | TZA | 2,004 | Average precipitation in depth (mm per year) | AG.LND.PRCP.MM | 1,071 | HDX | 2026-04-12 |
Tanzania | TZA | 2,008 | Rural population | SP.RUR.TOTL | 31,168,102 | HDX | 2026-04-12 |
Tanzania | TZA | 1,977 | Agricultural land (% of land area) | AG.LND.AGRI.ZS | 32.738767 | HDX | 2026-04-12 |
Tanzania | TZA | 2,001 | Annual freshwater withdrawals, agriculture (% of total freshwater withdrawal) | ER.H2O.FWAG.ZS | 88.591794 | HDX | 2026-04-12 |
Tanzania | TZA | 1,985 | Rural population | SP.RUR.TOTL | 18,676,238 | HDX | 2026-04-12 |
Tanzania | TZA | 1,975 | Rural population | SP.RUR.TOTL | 14,338,717 | HDX | 2026-04-12 |
Tanzania | TZA | 1,966 | Fertilizer consumption (kilograms per hectare of arable land) | AG.CON.FERT.ZS | 1.466667 | HDX | 2026-04-12 |
Tanzania | TZA | 1,960 | Rural population (% of total population) | SP.RUR.TOTL.ZS | 95.112041 | HDX | 2026-04-12 |
Tanzania | TZA | 1,994 | Permanent cropland (% of land area) | AG.LND.CROP.ZS | 1.128923 | HDX | 2026-04-12 |
Tanzania | TZA | 2,003 | Rural population | SP.RUR.TOTL | 28,366,014 | HDX | 2026-04-12 |
Tanzania | TZA | 1,970 | Rural population growth (annual %) | SP.RUR.TOTL.ZG | 2.75247 | HDX | 2026-04-12 |
Tanzania | TZA | 1,982 | Arable land (% of land area) | AG.LND.ARBL.ZS | 9.031384 | HDX | 2026-04-12 |
Tanzania | TZA | 1,999 | Agricultural land (sq. km) | AG.LND.AGRI.K2 | 339,000 | HDX | 2026-04-12 |
Tanzania | TZA | 1,976 | Rural population | SP.RUR.TOTL | 14,706,769 | HDX | 2026-04-12 |
Tanzania | TZA | 1,962 | Cereal yield (kg per hectare) | AG.YLD.CREL.KG | 831.3 | HDX | 2026-04-12 |
Tanzania | TZA | 1,986 | Rural population | SP.RUR.TOTL | 19,211,707 | HDX | 2026-04-12 |
Tanzania | TZA | 1,998 | Crop production index (2014-2016 = 100) | AG.PRD.CROP.XD | 38.12 | HDX | 2026-04-12 |
Tanzania | TZA | 1,988 | Rural population | SP.RUR.TOTL | 20,264,537 | HDX | 2026-04-12 |
Tanzania | TZA | 2,001 | Agriculture, forestry, and fishing, value added (current US$) | NV.AGR.TOTL.CD | 3,500,752,199.57763 | HDX | 2026-04-12 |
Tanzania | TZA | 2,019 | Agricultural raw materials exports (% of merchandise exports) | TX.VAL.AGRI.ZS.UN | 4.713819 | HDX | 2026-04-12 |
Tanzania | TZA | 1,989 | Arable land (hectares per person) | AG.LND.ARBL.HA.PC | 0.353791 | HDX | 2026-04-12 |
Tanzania | TZA | 1,982 | Land area (sq. km) | AG.LND.TOTL.K2 | 885,800 | HDX | 2026-04-12 |
Tanzania | TZA | 1,979 | Agricultural raw materials exports (% of merchandise exports) | TX.VAL.AGRI.ZS.UN | 17.772932 | HDX | 2026-04-12 |
Tanzania | TZA | 1,961 | Permanent cropland (% of land area) | AG.LND.CROP.ZS | 0.903138 | HDX | 2026-04-12 |
Tanzania - 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: TZA.
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,638 |
| Columns | 8 (2 numeric, 6 categorical, 0 datetime) |
| Train split | 1,310 rows |
| Test split | 327 rows |
| Geographic scope | TZA |
| Publisher | World Bank Group |
| HDX last updated | 2026-03-27 |
Variables
Geographic — country_name (Tanzania), country_iso3 (TZA), year (range 1960.0–2025.0).
Outcome / Measurement — value (range 0.1691–18720174196.0901).
Identifier / Metadata — indicator_name (Rural population, Rural population (% of total population), Rural population growth (annual %)), indicator_code (SP.RUR.TOTL, SP.RUR.TOTL.ZS, SP.RUR.TOTL.ZG), esa_source (HDX), esa_processed (2026-04-12).
Quick Start
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-world-bank-agriculture-and-rural-development-indicators-for-tanzania")
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% | Tanzania |
country_iso3 |
object | 0.0% | TZA |
year |
int64 | 0.0% | 1960.0 – 2025.0 (mean 1995.4084) |
indicator_name |
object | 0.0% | Rural population, Rural population (% of total population), Rural population growth (annual %) |
indicator_code |
object | 0.0% | SP.RUR.TOTL, SP.RUR.TOTL.ZS, SP.RUR.TOTL.ZG |
value |
float64 | 0.0% | 0.1691 – 18720174196.0901 (mean 177803881.5638) |
esa_source |
object | 0.0% | HDX |
esa_processed |
object | 0.0% | 2026-04-12 |
Numeric Summary
| Column | Min | Max | Mean | Median |
|---|---|---|---|---|
year |
1960.0 | 2025.0 | 1995.4084 | 1997.0 |
value |
0.1691 | 18720174196.0901 | 177803881.5638 | 75.8047 |
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_tanzania,
title = {Tanzania - Agriculture and Rural Development},
author = {World Bank Group},
year = {2026},
url = {https://data.humdata.org/dataset/world-bank-agriculture-and-rural-development-indicators-for-tanzania},
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
- 29