agro_ecological_zone stringclasses 5
values | region_type stringclasses 4
values | farm_size_ha float64 0.1 20 ⌀ | soil_quality_index float64 0.01 99.7 ⌀ | rainfall_mm_annual float64 100 3k ⌀ | household_size float64 1 20 ⌀ | market_distance_km float64 0.5 150 ⌀ | livestock_tlu float64 0 50 ⌀ | extension_access stringclasses 2
values | fertilizer_use_kg_ha float64 0 313 ⌀ | rainfall_mm_season float64 50 2k ⌀ | maize_yield_kg_ha float64 200 8k |
|---|---|---|---|---|---|---|---|---|---|---|---|
semi_arid | rural_remote | 0.951208 | 23.038464 | 680.298024 | 3.970038 | 6.102629 | 11.595804 | no | 0 | 423.002049 | 1,064.194275 |
highland | rural_accessible | 0.845548 | 43.382652 | 620.781657 | 10.149707 | 27.359757 | 0 | no | 0 | 467.355182 | 3,819.005766 |
sub_humid | rural_remote | 0.545244 | 51.728496 | 1,166.369288 | 2.980744 | 5.570892 | 7.58029 | no | 11.304201 | 735.177796 | 3,065.983837 |
sub_humid | rural_remote | 2.319505 | 56.85537 | null | 7.814408 | 26.298396 | 0 | yes | 29.194647 | null | 2,370.144761 |
semi_arid | rural_remote | 5.511869 | 17.657973 | 550.282338 | 5.150978 | 5.34036 | 12.558941 | no | 0 | 360.528104 | 1,718.931106 |
semi_arid | rural_accessible | 5.192519 | 34.127381 | 371.663422 | 6.301392 | 10.996484 | 20.600258 | no | 97.359081 | 232.778805 | 1,587.936205 |
arid | rural_remote | 0.1 | 20.204834 | 190.612844 | 4.369275 | 6.724327 | 9.489313 | yes | 0 | 154.446776 | 200 |
humid | rural_accessible | 1.440702 | 25.103691 | 2,528.596555 | 5.220964 | 11.976893 | 0 | no | 0 | 2,000 | 3,367.039337 |
sub_humid | rural_remote | 1.383411 | 26.042856 | 1,047.526635 | 2.804446 | 19.301005 | 2.011002 | yes | 46.104096 | 694.148568 | 1,594.583762 |
sub_humid | urban | 2.058485 | null | 501.215075 | 6.369941 | 4.011155 | 2.265716 | no | 58.975709 | 443.835753 | 3,673.152629 |
arid | rural_remote | 0.1 | 24.739558 | 286.121726 | 12.680984 | 6.315073 | 10.748075 | no | 0 | 233.061632 | 200 |
highland | rural_remote | 0.667208 | 71.577863 | 421.532618 | 6.764446 | 5.772022 | 9.917561 | no | 0 | 286.235657 | 3,132.223451 |
humid | rural_accessible | 0.688146 | 30.448363 | 2,421.333752 | 2.137944 | 6.436187 | 0.41569 | no | 17.671386 | 1,404.181427 | 1,055.833528 |
semi_arid | rural_accessible | 0.460161 | 55.594642 | null | 12.711625 | null | 0 | no | 0 | null | 2,887.460164 |
semi_arid | rural_remote | 0.516892 | 49.725091 | 560.21817 | 1.293672 | 21.460437 | 11.901088 | no | 0 | 419.465104 | 202.342826 |
semi_arid | rural_accessible | 0.419031 | 19.641944 | 906.964085 | 5.175653 | 4.93752 | 7.261257 | no | 0 | 521.907372 | 796.090842 |
semi_arid | rural_remote | 8.740489 | 40.340877 | 378.422109 | 4.366926 | 9.542003 | 11.99815 | no | 0 | 268.917907 | 885.628967 |
sub_humid | rural_accessible | 5.766819 | 16.72605 | 553.085405 | 3.225809 | 12.748571 | 5.270951 | no | 0 | 360.769784 | 2,738.85081 |
semi_arid | rural_accessible | 1.939538 | 14.941195 | 743.470656 | 6.913242 | 3.216143 | 19.74042 | no | 0 | 431.623595 | 695.032256 |
semi_arid | rural_remote | 1.722068 | 11.076027 | 636.039641 | 7.511278 | 6.888316 | 10.910195 | yes | 0 | 507.48819 | 2,209.018867 |
sub_humid | rural_remote | 0.917238 | 21.64707 | 593.792105 | 3.344945 | 9.526069 | 1.610294 | no | 21.673512 | 311.750937 | 1,176.885108 |
arid | rural_remote | 0.1 | 36.482007 | 169.292113 | 3.854469 | 9.260256 | 22.927989 | yes | 0 | 95.276433 | 200 |
semi_arid | rural_remote | 2.886807 | 39.123338 | 613.383327 | 7.390752 | 12.787667 | 10.788923 | yes | 0 | null | 490.349089 |
semi_arid | rural_accessible | 0.793824 | 17.87438 | 202.935521 | 6.672296 | 13.034784 | 12.483998 | no | 0 | 115.583703 | 2,891.411152 |
semi_arid | rural_remote | 1.544541 | 15.091934 | 1,087.327404 | 9.963245 | 19.674782 | 19.986498 | no | 63.631639 | 912.546719 | 1,270.304045 |
humid | rural_accessible | 1.435783 | 86.38865 | 2,577.334698 | 7.891326 | 15.151628 | 0 | no | 80.581085 | 1,612.088192 | 4,841.201816 |
semi_arid | urban | 0.65843 | 7.893744 | 680.212172 | 2.738515 | 11.499638 | 9.845809 | no | 0 | 444.769715 | 1,665.673222 |
sub_humid | rural_accessible | 1.130973 | 60.244369 | 1,677.559034 | 1.572576 | 4.41594 | 2.07307 | no | 10.635267 | 1,097.991289 | 3,868.554701 |
sub_humid | rural_accessible | 1.443746 | 64.668593 | 753.452823 | 4.059922 | 7.231434 | 2.820163 | no | 62.802402 | 574.240885 | 2,729.279621 |
arid | rural_remote | 0.1 | 19.590684 | 108.707726 | 15.459311 | 42.752592 | 37.994201 | no | 0 | 90.14606 | 200 |
sub_humid | rural_remote | 0.895236 | 75.771083 | 1,037.535721 | 8.237808 | 4.616964 | 2.890102 | no | 0 | 684.796146 | 1,096.982905 |
semi_arid | rural_accessible | 3.012074 | null | 541.145908 | 4.032594 | 11.273938 | 0 | no | 0 | 340.955387 | 857.852116 |
arid | rural_remote | 0.1 | 3.38435 | 116.166904 | 5.968312 | 14.272524 | 29.682663 | null | 0 | 76.624591 | 200 |
highland | peri_urban | 1.155227 | 64.177985 | 559.638805 | 4.597848 | 9.175628 | 5.229112 | yes | 0 | 407.931317 | 1,261.84416 |
highland | rural_accessible | 3.461033 | 94.605119 | null | 8.700322 | 7.92512 | 2.131434 | yes | 0 | null | 942.99645 |
humid | rural_accessible | 1.968524 | 33.159873 | 1,697.540259 | 3.099825 | 6.146887 | 3.137177 | no | 0 | 1,052.297133 | 1,149.841786 |
semi_arid | rural_accessible | 0.801794 | 15.250303 | 533.946317 | 6.139851 | 10.13633 | 18.692333 | no | 0 | 397.656369 | 223.407723 |
arid | rural_accessible | 0.1 | 37.422237 | 227.737679 | 5.066517 | 44.007304 | 17.984341 | no | 10.213475 | 160.979812 | 200 |
sub_humid | rural_remote | 2.869576 | 85.939791 | 640.61339 | 3.174888 | 10.748825 | 0 | no | 32.244954 | 479.568692 | 1,332.472941 |
semi_arid | rural_remote | 2.446669 | 41.11923 | 493.386607 | 3.12038 | 21.352823 | 17.671023 | no | 0 | 315.15189 | 1,271.243855 |
arid | rural_accessible | 0.1 | 11.129421 | 346.029687 | 4.154068 | 2.541187 | 12.257904 | no | 0 | 209.837814 | 200 |
semi_arid | rural_accessible | 4.434961 | null | 141.448822 | 12.903096 | 7.853758 | 11.848742 | no | 0 | 112.119848 | 1,491.176267 |
arid | rural_remote | 0.1 | 11.025686 | 100 | 4.126988 | 30.894238 | null | no | 0 | 75.674016 | 200 |
highland | rural_remote | 2.741198 | 63.822353 | 503.717621 | 10.921067 | 4.762829 | 2.667263 | no | 19.847354 | 266.951889 | 2,937.43937 |
semi_arid | rural_remote | 1.62974 | null | 270.450096 | 5.238117 | 17.634723 | 14.282621 | yes | 0 | 234.28192 | 1,459.869853 |
sub_humid | rural_remote | 0.777553 | 26.749413 | 918.593436 | 2.283998 | 4.419451 | 0.680979 | no | 44.705858 | 367.437374 | 2,281.892648 |
semi_arid | rural_remote | 3.632115 | 20.107706 | 368.217261 | 3.227878 | 9.835131 | 13.268129 | no | 15.084848 | 264.241818 | 513.346474 |
sub_humid | rural_remote | 1.033197 | 52.7092 | 734.753945 | 3.348468 | 18.564124 | 1.544347 | no | 0 | null | 1,495.551853 |
sub_humid | rural_accessible | 1.406169 | 21.401118 | 1,244.562746 | 6.914637 | 12.650347 | 0.495564 | no | 29.860255 | 817.807388 | 2,899.758984 |
semi_arid | rural_accessible | 0.643817 | 45.873483 | 203.057238 | 1.944675 | 10.306081 | null | no | 19.583981 | 158.054101 | 609.7985 |
highland | rural_accessible | 2.329679 | 48.446448 | 2,029.802692 | 4.248095 | 3.214739 | 2.454044 | no | 53.956159 | 1,118.312175 | 3,800.187151 |
humid | rural_accessible | 2.218846 | 6.166267 | null | 4.810946 | 9.078694 | 1.89505 | yes | 28.864328 | null | 1,438.392029 |
highland | rural_accessible | 1.503925 | 52.453709 | 1,358.178121 | null | 5.896568 | 0 | yes | 0 | 1,192.04092 | 4,455.8202 |
humid | peri_urban | 1.737128 | 67.154364 | 1,865.479364 | 1.893618 | 6.060152 | 1.68221 | no | 32.274254 | 1,077.990262 | 1,933.715644 |
sub_humid | rural_remote | 0.888819 | 64.111305 | 900.056542 | 2.276749 | 7.160717 | 0 | no | 0 | 431.061342 | 3,464.173958 |
highland | rural_accessible | 2.281395 | 28.045312 | 869.429468 | 7.021605 | 5.396113 | 6.104461 | no | 0 | 484.122397 | 1,670.22236 |
arid | rural_remote | 0.1 | 16.851723 | 132.541794 | 8.622561 | 74.230474 | 25.80834 | yes | 0 | 103.392896 | 200 |
semi_arid | rural_remote | 0.654471 | 26.698416 | 412.605538 | 4.730948 | 10.973258 | 3.756563 | no | 0 | 278.583163 | 622.35419 |
arid | rural_accessible | 0.1 | 11.683789 | 115.556835 | 10.169956 | 11.500601 | null | yes | 0 | 72.120883 | 200 |
semi_arid | rural_accessible | 2.170356 | 41.649713 | 443.477239 | 6.519316 | 18.460958 | 0 | no | 0 | 242.076304 | 557.574106 |
semi_arid | rural_accessible | 1.502332 | 6.171884 | 324.997085 | 3.289567 | 16.779547 | 13.964837 | no | 0 | 169.587643 | 1,825.147794 |
semi_arid | rural_accessible | 0.542388 | 11.618806 | 579.318352 | 4.423449 | 5.773297 | 36.933357 | no | null | 283.751222 | 1,208.880808 |
humid | rural_accessible | 1.122326 | 63.395499 | 3,000 | 5.830285 | 7.982771 | 0.042808 | no | 0 | 1,978.125802 | 604.560942 |
semi_arid | rural_remote | 1.194188 | 27.250906 | 483.740509 | 3.695302 | 10.815375 | 6.227566 | no | 0 | 331.398404 | 1,443.992397 |
semi_arid | rural_accessible | 5.000299 | 17.525925 | 209.617481 | 3.396715 | 12.392361 | 36.222445 | no | 29.222438 | 142.197062 | 433.436101 |
sub_humid | urban | 1.4323 | 90.200847 | 649.982025 | 2.227823 | null | 7.374506 | no | 46.575234 | 388.410679 | 3,190.554041 |
arid | rural_remote | 0.1 | 11.875445 | 112.367085 | 3.249477 | 133.142136 | 13.35946 | yes | 0 | 58.099351 | 200 |
humid | rural_accessible | 1.838583 | null | 3,000 | 5.06634 | 5.7404 | 0 | no | 22.723513 | 2,000 | 2,282.39918 |
arid | rural_accessible | 0.1 | 18.308639 | 100 | 7.144939 | 6.687696 | 37.01828 | no | 0 | 65.930036 | 200 |
highland | peri_urban | 1.096036 | 20.817706 | 670.8279 | 2.272366 | 7.823593 | 1.919836 | no | 24.652101 | 422.39372 | 6,221.500764 |
humid | rural_accessible | 2.903967 | 47.313854 | 2,033.189106 | 6.344748 | 6.86686 | 0 | no | 54.473348 | 1,807.882152 | 2,328.754241 |
semi_arid | rural_remote | 0.988138 | 28.130477 | 416.670703 | 3.057395 | 6.042006 | 7.349046 | yes | 38.695453 | 247.12646 | 1,018.111593 |
arid | rural_remote | 0.1 | 14.835447 | 100 | 8.785381 | 9.941997 | 17.740244 | yes | 0 | 74.882656 | 200 |
humid | rural_remote | 5.686286 | 24.927078 | null | 7.886594 | 15.935085 | 0.435073 | no | 0 | null | 3,683.18978 |
sub_humid | peri_urban | 0.816878 | 6.299766 | 1,118.096056 | 1.283566 | 8.205116 | 1.543306 | yes | 82.83021 | 785.884909 | 1,007.368238 |
sub_humid | rural_accessible | 0.939313 | 55.174479 | 1,056.535132 | 6.563998 | 5.010183 | 2.171311 | no | 0 | 802.538088 | 3,372.045296 |
humid | rural_remote | 0.840836 | 78.110018 | 952.671369 | 3.592358 | 16.780003 | 0.557787 | no | 0 | 617.607145 | 2,276.983942 |
arid | rural_remote | 0.1 | 13.25722 | 100 | 7.573335 | 2.70989 | 35.060835 | no | 0 | 65.149494 | 200 |
semi_arid | rural_accessible | 1.839335 | null | 420.597943 | 4.434857 | 8.347835 | 6.573596 | no | 0 | 280.054993 | 654.650572 |
arid | rural_accessible | 0.1 | 59.02627 | 113.319799 | 8.566679 | null | 15.920757 | no | 0 | 74.927959 | 200 |
humid | peri_urban | 1.319202 | 37.098349 | 910.411157 | 2.486765 | 6.715178 | 0.336639 | no | 38.763625 | 528.70877 | 2,315.068653 |
sub_humid | rural_accessible | 1.959599 | 44.187516 | null | 3.060322 | 13.962108 | 4.054536 | yes | 0 | null | 1,911.877141 |
semi_arid | rural_remote | 1.29116 | 8.429656 | 890.045925 | 4.628292 | 26.504293 | 7.40086 | yes | 0 | 510.164939 | 1,173.489357 |
arid | rural_remote | 0.1 | 19.832758 | 101.313641 | 1.698878 | 5.308641 | 7.027118 | no | 0 | null | 200 |
semi_arid | rural_remote | 2.121595 | 25.307603 | 729.401617 | 6.940641 | 12.11673 | 19.729168 | no | 10.1759 | 422.922713 | 1,892.617966 |
semi_arid | rural_accessible | 2.422736 | 23.227495 | 440.710013 | 11.351092 | 2.637152 | 22.257247 | yes | 0 | 264.733545 | 1,450.857607 |
sub_humid | peri_urban | 1.894796 | 19.546543 | 1,441.712406 | 4.106805 | 17.439709 | 1.115179 | no | 0 | 935.88238 | 3,103.689528 |
sub_humid | rural_remote | 1.690884 | 48.920608 | 566.419857 | 3.568414 | 7.456507 | 3.450805 | yes | 20.255838 | 379.546518 | 1,342.674751 |
humid | rural_remote | 1.93653 | 45.821587 | 619.444182 | 3.842678 | 6.904453 | 4.988907 | yes | 52.619458 | 300.376418 | 2,624.053269 |
semi_arid | rural_accessible | 2.975792 | 15.092436 | 568.004119 | 6.45261 | 22.20292 | 3.457787 | no | 0 | 387.22101 | 1,182.595068 |
arid | rural_remote | 0.1 | 26.326042 | 248.264356 | 5.447451 | 103.216374 | 5.991312 | no | 0 | 168.843126 | 200 |
sub_humid | rural_accessible | 2.360057 | 18.040454 | 606.033971 | 13.063617 | 9.238461 | 1.671773 | no | 66.671973 | 378.208113 | 1,150.7633 |
humid | peri_urban | 2.520445 | 70.735371 | 1,823.562783 | 1.614754 | 4.348232 | 1.819214 | no | 48.718888 | 799.679599 | 1,347.682639 |
sub_humid | rural_remote | 1.029688 | 55.505306 | 1,229.09542 | 3.291046 | 5.914022 | 1.183099 | no | 43.756924 | 838.706705 | 3,837.72361 |
humid | rural_remote | 0.825274 | 48.391013 | 662.336861 | 5.876368 | 5.269963 | 0.215402 | no | 23.095595 | 317.480778 | 3,664.91764 |
semi_arid | rural_remote | 2.802042 | 39.448753 | 775.377679 | 4.077966 | 4.420933 | 16.612281 | no | 0 | 594.645516 | 2,273.269554 |
sub_humid | rural_accessible | 0.743901 | 44.181294 | 586.286865 | 4.641483 | 14.620849 | null | no | 6.645338 | 377.565924 | 3,056.527327 |
semi_arid | rural_accessible | 3.630749 | 53.387053 | 767.368585 | 6.800012 | 8.339375 | 17.403209 | no | 0 | 463.153295 | 1,138.728119 |
arid | rural_remote | 0.1 | 58.19472 | 158.335742 | 3.792709 | 28.099733 | 24.873329 | yes | 0 | 87.032403 | 200 |
arid | rural_remote | 0.1 | 27.162018 | 121.331924 | 8.881579 | 66.880914 | 11.081958 | yes | 0 | 96.267896 | 200 |
African Agriculture & Food Security Synthetic Dataset | Africa (Electric Sheep Africa metadata inventory)
Size category: 1M<n<10M - Formats: parquet - Sector: agriculture_food - Engineered by Electric Sheep Africa
TL;DR
This dataset is part of the Electric Sheep Africa catalog on Hugging Face. It is indexed for African data discovery with standardized metadata, loading guidance, provenance notes, and analyst-oriented context.
What This Dataset Covers
Public datasets help analysts inspect structured evidence, build reproducible workflows, and compare patterns across domains.
Dataset context from the existing Hugging Face card: ⚠️ Synthetic dataset — Parameterized from published SSA literature, not real observations. Not suitable for empirical analysis or policy inference. African Agriculture & Food Security Synthetic Dataset v2.0 Dataset Summary This dataset contains 1,000,000 synthetic household records for African agriculture and food security research. Every variable is grounded in peer-reviewed literature, making it ideal for algorithm development, methods research, and education without… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-synth-agriculture-and-food-security-dataset-all.
Dataset Profile
| Field | Value |
|---|---|
| Hugging Face repo | electricsheepafrica/africa-synth-agriculture-and-food-security-dataset-all |
| Sector | agriculture_food |
| Topic tags | agriculture, food-security, synthetic-data, smallholder-farming, climate, yields, synthetic |
| Modalities | tabular, text |
| Formats | parquet |
| Size category | 1M<n<10M |
| Countries | Africa-wide or source-defined African coverage |
| ISO3 coverage | not declared |
| Last modified on HF | 2026-04-14 22:38:13+00:00 |
| Inventory snapshot | 2026-07-16T16:00:34Z |
How To Read This Dataset
- Start from the repository files and the dataset viewer when available.
- Treat the README context as a fast orientation layer; confirm variable definitions and units in the data files before modeling.
- Use explicit country columns when present. When geography is only implied by the title or source metadata, document that assumption in downstream analysis.
- Preserve missing values until you have a defensible imputation rule.
Usage
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-synth-agriculture-and-food-security-dataset-all")
print(ds)
split_name = next(iter(ds))
table = ds[split_name]
print(table.features)
print(table[:3])
Convert To Pandas When Tabular
from datasets import Dataset
first_split = ds[next(iter(ds))]
if isinstance(first_split, Dataset):
df = first_split.to_pandas()
print(df.head())
Data Quality Notes
- This card was standardized from the Electric Sheep Africa Hugging Face metadata inventory.
- Exact schema, row counts, and source files should be inspected in the repository data files.
- Metadata gaps from the inventory: country, upstream_publisher.
- Do not infer policy meaning from labels alone; confirm definitions, units, and methods in the source material.
Source And Provenance
- Source context: Electric Sheep Africa metadata inventory
- Publisher/source attribution: Public dataset metadata
- License: CC BY 4.0
- Hugging Face URL: https://huggingface.co/datasets/electricsheepafrica/africa-synth-agriculture-and-food-security-dataset-all
- Inventory retrieved at:
2026-07-16T16:00:34Z
Suggested Analyses
- Inspect schema and missingness before modeling.
- Profile variables by geography, time, and subgroup columns where present.
- Join with other Electric Sheep Africa datasets using explicit country, year, and indicator fields when available.
- Build reproducible notebooks that cite both the original source context and the Electric Sheep Africa Hugging Face repo.
Citation
@misc{electric_sheep_africa_africa_synth_agriculture_and_food_security_dataset_all_2026,
title = {African Agriculture & Food Security Synthetic Dataset | Africa (Electric Sheep Africa metadata inventory)},
author = {Public dataset metadata},
year = {2026},
url = {https://huggingface.co/datasets/electricsheepafrica/africa-synth-agriculture-and-food-security-dataset-all},
publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-synth-agriculture-and-food-security-dataset-all}}
}
License
Released under CC BY 4.0.
Original source rights remain with the original publisher or data provider. Electric Sheep Africa engineering standardizes discovery metadata, documentation, and usage guidance for analysis on Hugging Face.
About Electric Sheep Africa
Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
Provenance: metadata-backed README standardized 2026-08-12 by the Electric Sheep Africa README system. Inventory source: catalog/esa_metadata_inventory/master_metadata.jsonl.
- Downloads last month
- 86