Datasets:
Dataset Preview
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 1 new columns ({'stunting_flag'}) and 12 missing columns ({'income_band', 'is_urban', 'avg_meal_count', 'lat', 'sanitation_tier', 'top_drivers', 'district', 'water_source', 'risk_score', 'sector', 'children_under5', 'lon'}).
This happened while the csv dataset builder was generating data using
hf://datasets/getachewgetu/stunting-risk-rwanda-dataset/raw/gold_stunting_flag.csv (at revision e34e9248d8f03e1992da14bfc96d776bd7bbfec9), [/tmp/hf-datasets-cache/medium/datasets/68919769103917-config-parquet-and-info-getachewgetu-stunting-ris-342583c7/hub/datasets--getachewgetu--stunting-risk-rwanda-dataset/snapshots/e34e9248d8f03e1992da14bfc96d776bd7bbfec9/processed/households_scored.csv (origin=hf://datasets/getachewgetu/stunting-risk-rwanda-dataset@e34e9248d8f03e1992da14bfc96d776bd7bbfec9/processed/households_scored.csv), /tmp/hf-datasets-cache/medium/datasets/68919769103917-config-parquet-and-info-getachewgetu-stunting-ris-342583c7/hub/datasets--getachewgetu--stunting-risk-rwanda-dataset/snapshots/e34e9248d8f03e1992da14bfc96d776bd7bbfec9/raw/gold_stunting_flag.csv (origin=hf://datasets/getachewgetu/stunting-risk-rwanda-dataset@e34e9248d8f03e1992da14bfc96d776bd7bbfec9/raw/gold_stunting_flag.csv), /tmp/hf-datasets-cache/medium/datasets/68919769103917-config-parquet-and-info-getachewgetu-stunting-ris-342583c7/hub/datasets--getachewgetu--stunting-risk-rwanda-dataset/snapshots/e34e9248d8f03e1992da14bfc96d776bd7bbfec9/raw/households.csv (origin=hf://datasets/getachewgetu/stunting-risk-rwanda-dataset@e34e9248d8f03e1992da14bfc96d776bd7bbfec9/raw/households.csv)]
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1893, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 765, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 773, in _write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2281, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2227, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
household_id: string
stunting_flag: int64
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 508
to
{'household_id': Value('string'), 'lat': Value('float64'), 'lon': Value('float64'), 'district': Value('string'), 'sector': Value('string'), 'is_urban': Value('int64'), 'children_under5': Value('int64'), 'avg_meal_count': Value('float64'), 'water_source': Value('string'), 'sanitation_tier': Value('string'), 'income_band': Value('string'), 'risk_score': Value('float64'), 'top_drivers': Value('string')}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1347, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 980, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 884, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 947, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1739, in _prepare_split
for job_id, done, content in self._prepare_split_single(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1895, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 1 new columns ({'stunting_flag'}) and 12 missing columns ({'income_band', 'is_urban', 'avg_meal_count', 'lat', 'sanitation_tier', 'top_drivers', 'district', 'water_source', 'risk_score', 'sector', 'children_under5', 'lon'}).
This happened while the csv dataset builder was generating data using
hf://datasets/getachewgetu/stunting-risk-rwanda-dataset/raw/gold_stunting_flag.csv (at revision e34e9248d8f03e1992da14bfc96d776bd7bbfec9), [/tmp/hf-datasets-cache/medium/datasets/68919769103917-config-parquet-and-info-getachewgetu-stunting-ris-342583c7/hub/datasets--getachewgetu--stunting-risk-rwanda-dataset/snapshots/e34e9248d8f03e1992da14bfc96d776bd7bbfec9/processed/households_scored.csv (origin=hf://datasets/getachewgetu/stunting-risk-rwanda-dataset@e34e9248d8f03e1992da14bfc96d776bd7bbfec9/processed/households_scored.csv), /tmp/hf-datasets-cache/medium/datasets/68919769103917-config-parquet-and-info-getachewgetu-stunting-ris-342583c7/hub/datasets--getachewgetu--stunting-risk-rwanda-dataset/snapshots/e34e9248d8f03e1992da14bfc96d776bd7bbfec9/raw/gold_stunting_flag.csv (origin=hf://datasets/getachewgetu/stunting-risk-rwanda-dataset@e34e9248d8f03e1992da14bfc96d776bd7bbfec9/raw/gold_stunting_flag.csv), /tmp/hf-datasets-cache/medium/datasets/68919769103917-config-parquet-and-info-getachewgetu-stunting-ris-342583c7/hub/datasets--getachewgetu--stunting-risk-rwanda-dataset/snapshots/e34e9248d8f03e1992da14bfc96d776bd7bbfec9/raw/households.csv (origin=hf://datasets/getachewgetu/stunting-risk-rwanda-dataset@e34e9248d8f03e1992da14bfc96d776bd7bbfec9/raw/households.csv)]
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
household_id string | lat float64 | lon float64 | district string | sector string | is_urban int64 | children_under5 int64 | avg_meal_count float64 | water_source string | sanitation_tier string | income_band string | risk_score float64 | top_drivers string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
HH-0001 | -1.968579 | 30.017154 | Nyarugenge | Kigali | 1 | 4 | 2.08 | protected_well | none | low | 99.3 | [('poor sanitation', 2.179683189435949), ('low meal count', 1.1654552323196579), ('high child count', 0.942348646448285)] |
HH-0002 | -1.528162 | 29.559406 | Musanze | Muhoza | 0 | 2 | 1.75 | protected_well | basic | medium | 89.04 | [('low meal count', 3.3652658710164376), ('unsafe water source', 0.3803769324870297), ('high child count', 0.03624417870954945)] |
HH-0003 | -1.940508 | 30.048132 | Nyarugenge | Kigali | 1 | 3 | 1.95 | unprotected_well | basic | medium | 91.71 | [('low meal count', 2.032047302109299), ('unsafe water source', 1.5690548465089973), ('high child count', 0.4892964125789172)] |
HH-0004 | -2.54375 | 29.682401 | Huye | Ngoma | 0 | 4 | 3.41 | piped_into_dwelling | unimproved | low | 0.05 | [('high child count', 0.942348646448285), ('poor sanitation', 0.8949976160945254), ('low income', 0.8797762052322806)] |
HH-0005 | -1.918843 | 30.125137 | Gasabo | Kimironko | 1 | 1 | 1 | protected_well | improved | low | 99.9 | [('low meal count', 8.364835504418208), ('low income', 0.8797762052322806), ('unsafe water source', 0.3803769324870297)] |
HH-0006 | -1.867711 | 30.089082 | Gasabo | Rusororo | 1 | 2 | 2.48 | unprotected_well | improved | low | 21.81 | [('unsafe water source', 1.5690548465089973), ('low income', 0.8797762052322806), ('high child count', 0.03624417870954945)] |
HH-0007 | -1.997135 | 30.181317 | Kicukiro | Kanombe | 1 | 1 | 2.15 | protected_well | none | medium | 82.42 | [('poor sanitation', 2.179683189435949), ('low meal count', 0.6988287332021602), ('unsafe water source', 0.3803769324870297)] |
HH-0008 | -1.945365 | 30.040845 | Nyarugenge | Kanyinya | 0 | 2 | 1.89 | public_tap | unimproved | medium | 77.87 | [('low meal count', 2.432012872781441), ('poor sanitation', 0.8949976160945254), ('high child count', 0.03624417870954945)] |
HH-0009 | -1.471124 | 29.688387 | Musanze | Cuve | 0 | 1 | 2.58 | piped_into_dwelling | unimproved | low | 3.25 | [('poor sanitation', 0.8949976160945254), ('low income', 0.8797762052322806), ('high child count', -0.4168080551598183)] |
HH-0010 | -1.926192 | 30.14689 | Gasabo | Gisozi | 1 | 5 | 1.41 | public_tap | unimproved | medium | 99.7 | [('low meal count', 5.6317374381585745), ('high child count', 1.3954008803176525), ('poor sanitation', 0.8949976160945254)] |
HH-0011 | -1.976453 | 30.015236 | Nyarugenge | Kigali | 1 | 5 | 3.02 | piped_into_dwelling | unimproved | low | 1.08 | [('high child count', 1.3954008803176525), ('poor sanitation', 0.8949976160945254), ('low income', 0.8797762052322806)] |
HH-0012 | -1.986684 | 30.171971 | Kicukiro | Kigarama | 1 | 2 | 2.92 | protected_well | unimproved | low | 5.58 | [('poor sanitation', 0.8949976160945254), ('low income', 0.8797762052322806), ('unsafe water source', 0.3803769324870297)] |
HH-0013 | -2.505121 | 29.790821 | Huye | Karama | 0 | 2 | 2.93 | piped_into_dwelling | basic | low | 0.14 | [('low income', 0.8797762052322806), ('high child count', 0.03624417870954945), ('poor sanitation', -0.3896879572468985)] |
HH-0014 | -1.879072 | 30.128079 | Gasabo | Rusororo | 1 | 2 | 2.58 | public_tap | basic | medium | 0.97 | [('high child count', 0.03624417870954945), ('poor sanitation', -0.3896879572468985), ('low income', -0.7101807921754557)] |
HH-0015 | -2.009065 | 30.127478 | Kicukiro | Gahanga | 1 | 1 | 1.52 | public_tap | none | medium | 98.96 | [('low meal count', 4.898467225259647), ('poor sanitation', 2.179683189435949), ('high child count', -0.4168080551598183)] |
HH-0016 | -2.005328 | 30.182096 | Kicukiro | Masaka | 1 | 2 | 1.28 | protected_well | improved | low | 99.61 | [('low meal count', 6.498329507948213), ('low income', 0.8797762052322806), ('unsafe water source', 0.3803769324870297)] |
HH-0017 | -2.569749 | 29.659703 | Huye | Kinazi | 0 | 2 | 1.84 | unprotected_well | none | high | 97.5 | [('low meal count', 2.7653175150082245), ('poor sanitation', 2.179683189435949), ('unsafe water source', 1.5690548465089973)] |
HH-0018 | -1.931341 | 30.069854 | Gasabo | Rusororo | 0 | 3 | 1.39 | public_tap | unimproved | low | 99.87 | [('low meal count', 5.765059295049288), ('poor sanitation', 0.8949976160945254), ('low income', 0.8797762052322806)] |
HH-0019 | -2.554972 | 29.773603 | Huye | Karama | 0 | 3 | 1 | public_tap | none | high | 99.94 | [('low meal count', 8.364835504418208), ('poor sanitation', 2.179683189435949), ('high child count', 0.4892964125789172)] |
HH-0020 | -1.96626 | 30.051401 | Nyarugenge | Gitega | 1 | 2 | 3.28 | public_tap | basic | medium | 0.01 | [('high child count', 0.03624417870954945), ('poor sanitation', -0.3896879572468985), ('low income', -0.7101807921754557)] |
HH-0021 | -1.496271 | 29.726715 | Musanze | Busogo | 0 | 1 | 2.52 | piped_into_dwelling | improved | medium | 0.08 | [('high child count', -0.4168080551598183), ('low income', -0.7101807921754557), ('poor sanitation', -1.6743735305883223)] |
HH-0022 | -1.922009 | 30.112181 | Gasabo | Kimironko | 1 | 1 | 3.9 | piped_into_dwelling | improved | medium | 0 | [('high child count', -0.4168080551598183), ('low income', -0.7101807921754557), ('poor sanitation', -1.6743735305883223)] |
HH-0023 | -1.939679 | 30.008703 | Nyarugenge | Mageregere | 1 | 5 | 2.18 | piped_into_dwelling | improved | high | 0.93 | [('high child count', 1.3954008803176525), ('low meal count', 0.4988459478660876), ('poor sanitation', -1.6743735305883223)] |
HH-0024 | -2.02705 | 30.184978 | Kicukiro | Masaka | 1 | 4 | 2.19 | unprotected_well | basic | low | 94.52 | [('unsafe water source', 1.5690548465089973), ('high child count', 0.942348646448285), ('low income', 0.8797762052322806)] |
HH-0025 | -1.483132 | 29.692947 | Musanze | Cuve | 0 | 2 | 1.82 | piped_into_dwelling | none | medium | 86.06 | [('low meal count', 2.8986393718989385), ('poor sanitation', 2.179683189435949), ('high child count', 0.03624417870954945)] |
HH-0026 | -1.944319 | 30.069676 | Nyarugenge | Gitega | 1 | 4 | 1.58 | protected_well | unimproved | low | 99.91 | [('low meal count', 4.498501654587505), ('high child count', 0.942348646448285), ('poor sanitation', 0.8949976160945254)] |
HH-0027 | -2.018758 | 30.126734 | Kicukiro | Masaka | 1 | 1 | 2.35 | unprotected_well | improved | medium | 7.92 | [('unsafe water source', 1.5690548465089973), ('high child count', -0.4168080551598183), ('low meal count', -0.63438983570498)] |
HH-0028 | -1.860381 | 30.10733 | Gasabo | Kimironko | 1 | 4 | 3.97 | piped_into_dwelling | improved | medium | 0 | [('high child count', 0.942348646448285), ('low income', -0.7101807921754557), ('poor sanitation', -1.6743735305883223)] |
HH-0029 | -2.510894 | 29.758025 | Huye | Kinazi | 0 | 2 | 2.2 | unprotected_well | basic | low | 86.69 | [('unsafe water source', 1.5690548465089973), ('low income', 0.8797762052322806), ('low meal count', 0.36552409097537364)] |
HH-0030 | -1.980705 | 30.189756 | Kicukiro | Gahanga | 1 | 4 | 1.99 | public_tap | basic | low | 85.85 | [('low meal count', 1.7654035883278707), ('high child count', 0.942348646448285), ('low income', 0.8797762052322806)] |
HH-0031 | -1.538321 | 29.740032 | Musanze | Muhoza | 0 | 2 | 2.14 | protected_well | basic | high | 10.96 | [('low meal count', 0.7654896616475158), ('unsafe water source', 0.3803769324870297), ('high child count', 0.03624417870954945)] |
HH-0032 | -2.488438 | 29.672569 | Huye | Kigoma | 0 | 4 | 2.94 | protected_well | unimproved | low | 11.34 | [('high child count', 0.942348646448285), ('poor sanitation', 0.8949976160945254), ('low income', 0.8797762052322806)] |
HH-0033 | -2.473388 | 29.685657 | Huye | Gishamvu | 0 | 2 | 2.57 | piped_into_dwelling | unimproved | low | 5.35 | [('poor sanitation', 0.8949976160945254), ('low income', 0.8797762052322806), ('high child count', 0.03624417870954945)] |
HH-0034 | -1.933788 | 30.027082 | Nyarugenge | Kanyinya | 0 | 3 | 2.66 | protected_well | basic | low | 12.7 | [('low income', 0.8797762052322806), ('high child count', 0.4892964125789172), ('unsafe water source', 0.3803769324870297)] |
HH-0035 | -1.512498 | 29.717654 | Musanze | Gacaca | 0 | 2 | 2.23 | protected_well | unimproved | high | 19.63 | [('poor sanitation', 0.8949976160945254), ('unsafe water source', 0.3803769324870297), ('low meal count', 0.1655413056393041)] |
HH-0036 | -1.937405 | 30.067995 | Nyarugenge | Gitega | 1 | 1 | 2.21 | piped_into_dwelling | basic | low | 9.87 | [('low income', 0.8797762052322806), ('low meal count', 0.2988631625300181), ('poor sanitation', -0.3896879572468985)] |
HH-0037 | -1.960235 | 30.019393 | Nyarugenge | Gitega | 1 | 1 | 3.37 | piped_into_dwelling | basic | medium | 0 | [('poor sanitation', -0.3896879572468985), ('high child count', -0.4168080551598183), ('low income', -0.7101807921754557)] |
HH-0038 | -1.994164 | 30.156993 | Kicukiro | Kigarama | 1 | 4 | 2.59 | piped_into_dwelling | basic | medium | 0.69 | [('high child count', 0.942348646448285), ('poor sanitation', -0.3896879572468985), ('low income', -0.7101807921754557)] |
HH-0039 | -1.478499 | 29.617126 | Musanze | Gacaca | 0 | 2 | 2.77 | protected_well | unimproved | low | 13.83 | [('poor sanitation', 0.8949976160945254), ('low income', 0.8797762052322806), ('unsafe water source', 0.3803769324870297)] |
HH-0040 | -1.461972 | 29.562312 | Musanze | Cuve | 0 | 1 | 3.78 | protected_well | improved | high | 0 | [('unsafe water source', 0.3803769324870297), ('high child count', -0.4168080551598183), ('poor sanitation', -1.6743735305883223)] |
HH-0041 | -2.021719 | 30.100466 | Kicukiro | Nyarugunga | 1 | 1 | 2.41 | unprotected_well | improved | low | 22.04 | [('unsafe water source', 1.5690548465089973), ('low income', 0.8797762052322806), ('high child count', -0.4168080551598183)] |
HH-0042 | -2.542552 | 29.818492 | Huye | Kinazi | 0 | 1 | 2.86 | protected_well | unimproved | low | 5.3 | [('poor sanitation', 0.8949976160945254), ('low income', 0.8797762052322806), ('unsafe water source', 0.3803769324870297)] |
HH-0043 | -2.484971 | 29.697573 | Huye | Kinazi | 0 | 1 | 1.59 | public_tap | basic | high | 48.25 | [('low meal count', 4.431840726142148), ('poor sanitation', -0.3896879572468985), ('high child count', -0.4168080551598183)] |
HH-0044 | -1.96714 | 30.064981 | Nyarugenge | Kanyinya | 1 | 5 | 2.98 | unprotected_well | unimproved | low | 33.59 | [('unsafe water source', 1.5690548465089973), ('high child count', 1.3954008803176525), ('poor sanitation', 0.8949976160945254)] |
HH-0045 | -2.529427 | 29.713234 | Huye | Ngoma | 0 | 2 | 2.02 | unprotected_well | basic | medium | 81.52 | [('unsafe water source', 1.5690548465089973), ('low meal count', 1.5654208029917998), ('high child count', 0.03624417870954945)] |
HH-0046 | -2.017578 | 30.1695 | Kicukiro | Kanombe | 0 | 2 | 2.37 | piped_into_dwelling | basic | low | 5.6 | [('low income', 0.8797762052322806), ('high child count', 0.03624417870954945), ('poor sanitation', -0.3896879572468985)] |
HH-0047 | -1.881362 | 30.120627 | Gasabo | Ndera | 1 | 2 | 3.27 | protected_well | improved | low | 0.04 | [('low income', 0.8797762052322806), ('unsafe water source', 0.3803769324870297), ('high child count', 0.03624417870954945)] |
HH-0048 | -1.940721 | 30.047875 | Nyarugenge | Mageragere | 1 | 2 | 2.44 | public_tap | improved | low | 3.27 | [('low income', 0.8797762052322806), ('high child count', 0.03624417870954945), ('unsafe water source', -0.8083009815349379)] |
HH-0049 | -1.576245 | 29.617341 | Musanze | Cuve | 0 | 1 | 2.48 | unprotected_well | basic | medium | 11.55 | [('unsafe water source', 1.5690548465089973), ('poor sanitation', -0.3896879572468985), ('high child count', -0.4168080551598183)] |
HH-0050 | -1.915214 | 30.101828 | Gasabo | Kacyiru | 1 | 1 | 2.05 | public_tap | basic | low | 51.09 | [('low meal count', 1.3654380176557301), ('low income', 0.8797762052322806), ('poor sanitation', -0.3896879572468985)] |
HH-0051 | -1.983598 | 30.114726 | Kicukiro | Gahanga | 1 | 4 | 2.1 | protected_well | unimproved | high | 58.98 | [('low meal count', 1.0321333754289437), ('high child count', 0.942348646448285), ('poor sanitation', 0.8949976160945254)] |
HH-0052 | -1.936296 | 30.139133 | Gasabo | Rusororo | 1 | 1 | 1.58 | unprotected_well | basic | low | 99.61 | [('low meal count', 4.498501654587505), ('unsafe water source', 1.5690548465089973), ('low income', 0.8797762052322806)] |
HH-0053 | -2.575383 | 29.796247 | Huye | Kinazi | 0 | 1 | 2.91 | public_tap | unimproved | medium | 0.25 | [('poor sanitation', 0.8949976160945254), ('high child count', -0.4168080551598183), ('low income', -0.7101807921754557)] |
HH-0054 | -1.598703 | 29.618192 | Musanze | Cuve | 0 | 4 | 3.09 | unprotected_well | improved | low | 1.17 | [('unsafe water source', 1.5690548465089973), ('high child count', 0.942348646448285), ('low income', 0.8797762052322806)] |
HH-0055 | -2.537202 | 29.698635 | Huye | Karama | 0 | 4 | 2.77 | piped_into_dwelling | basic | low | 1.01 | [('high child count', 0.942348646448285), ('low income', 0.8797762052322806), ('poor sanitation', -0.3896879572468985)] |
HH-0056 | -1.874632 | 30.074264 | Gasabo | Rusororo | 1 | 3 | 2.9 | unprotected_well | improved | medium | 0.54 | [('unsafe water source', 1.5690548465089973), ('high child count', 0.4892964125789172), ('low income', -0.7101807921754557)] |
HH-0057 | -2.023983 | 30.158508 | Kicukiro | Gahanga | 0 | 1 | 2.01 | public_tap | improved | medium | 7.15 | [('low meal count', 1.6320817314371583), ('high child count', -0.4168080551598183), ('low income', -0.7101807921754557)] |
HH-0058 | -1.983429 | 30.129346 | Kicukiro | Gahanga | 1 | 0 | 2.23 | protected_well | improved | low | 15.38 | [('low income', 0.8797762052322806), ('unsafe water source', 0.3803769324870297), ('low meal count', 0.1655413056393041)] |
HH-0059 | -2.021477 | 30.174478 | Kicukiro | Gahanga | 1 | 2 | 2.17 | protected_well | improved | medium | 12.03 | [('low meal count', 0.5655068763114461), ('unsafe water source', 0.3803769324870297), ('high child count', 0.03624417870954945)] |
HH-0060 | -2.036117 | 30.107614 | Kicukiro | Kigarama | 1 | 3 | 1.86 | piped_into_dwelling | unimproved | high | 29.58 | [('low meal count', 2.6319956581175106), ('poor sanitation', 0.8949976160945254), ('high child count', 0.4892964125789172)] |
HH-0061 | -1.959334 | 30.007486 | Nyarugenge | Mageragere | 1 | 1 | 2.35 | public_tap | basic | medium | 2.8 | [('poor sanitation', -0.3896879572468985), ('high child count', -0.4168080551598183), ('low meal count', -0.63438983570498)] |
HH-0062 | -1.85802 | 30.102796 | Gasabo | Rusororo | 1 | 1 | 2.94 | unprotected_well | unimproved | medium | 2.15 | [('unsafe water source', 1.5690548465089973), ('poor sanitation', 0.8949976160945254), ('high child count', -0.4168080551598183)] |
HH-0063 | -1.869165 | 30.074017 | Gasabo | Kacyiru | 0 | 4 | 3.06 | unprotected_well | unimproved | low | 15.87 | [('unsafe water source', 1.5690548465089973), ('high child count', 0.942348646448285), ('poor sanitation', 0.8949976160945254)] |
HH-0064 | -1.49692 | 29.569459 | Musanze | Muhoza | 0 | 2 | 2.98 | protected_well | improved | medium | 0.06 | [('unsafe water source', 0.3803769324870297), ('high child count', 0.03624417870954945), ('low income', -0.7101807921754557)] |
HH-0065 | -2.035158 | 30.105547 | Kicukiro | Nyarugunga | 1 | 4 | 3.58 | piped_into_dwelling | basic | medium | 0 | [('high child count', 0.942348646448285), ('poor sanitation', -0.3896879572468985), ('low income', -0.7101807921754557)] |
HH-0066 | -2.503296 | 29.687899 | Huye | Kinazi | 0 | 1 | 2.23 | piped_into_dwelling | none | low | 55.59 | [('poor sanitation', 2.179683189435949), ('low income', 0.8797762052322806), ('low meal count', 0.1655413056393041)] |
HH-0067 | -1.922752 | 30.087649 | Gasabo | Rusororo | 1 | 4 | 3.69 | protected_well | none | low | 0.31 | [('poor sanitation', 2.179683189435949), ('high child count', 0.942348646448285), ('low income', 0.8797762052322806)] |
HH-0068 | -1.958974 | 30.075113 | Nyarugenge | Mageregere | 1 | 2 | 2.34 | protected_well | none | low | 91.06 | [('poor sanitation', 2.179683189435949), ('low income', 0.8797762052322806), ('unsafe water source', 0.3803769324870297)] |
HH-0069 | -2.039733 | 30.185273 | Kicukiro | Masaka | 0 | 0 | 1.37 | public_tap | improved | low | 94.47 | [('low meal count', 5.898381151940001), ('low income', 0.8797762052322806), ('unsafe water source', -0.8083009815349379)] |
HH-0070 | -1.928988 | 30.091069 | Gasabo | Kimironko | 1 | 2 | 1.78 | protected_well | unimproved | low | 99.16 | [('low meal count', 3.165283085680367), ('poor sanitation', 0.8949976160945254), ('low income', 0.8797762052322806)] |
HH-0071 | -1.917454 | 30.061791 | Gasabo | Kacyiru | 1 | 1 | 1.86 | protected_well | none | medium | 97.01 | [('low meal count', 2.6319956581175106), ('poor sanitation', 2.179683189435949), ('unsafe water source', 0.3803769324870297)] |
HH-0072 | -1.851384 | 30.145307 | Gasabo | Gisozi | 1 | 3 | 1.31 | piped_into_dwelling | basic | medium | 95.71 | [('low meal count', 6.298346722612142), ('high child count', 0.4892964125789172), ('poor sanitation', -0.3896879572468985)] |
HH-0073 | -2.568717 | 29.742116 | Huye | Kigoma | 0 | 2 | 2.76 | public_tap | basic | low | 1.43 | [('low income', 0.8797762052322806), ('high child count', 0.03624417870954945), ('poor sanitation', -0.3896879572468985)] |
HH-0074 | -2.02127 | 30.192462 | Kicukiro | Gahanga | 1 | 2 | 2.86 | protected_well | basic | low | 2.38 | [('low income', 0.8797762052322806), ('unsafe water source', 0.3803769324870297), ('high child count', 0.03624417870954945)] |
HH-0075 | -1.93671 | 30.086213 | Gasabo | Gisozi | 1 | 1 | 2.89 | unprotected_well | basic | medium | 0.84 | [('unsafe water source', 1.5690548465089973), ('poor sanitation', -0.3896879572468985), ('high child count', -0.4168080551598183)] |
HH-0076 | -1.455557 | 29.695647 | Musanze | Cuve | 0 | 0 | 2.69 | protected_well | improved | high | 0.04 | [('unsafe water source', 0.3803769324870297), ('high child count', -0.869860289029186), ('poor sanitation', -1.6743735305883223)] |
HH-0077 | -2.03339 | 30.125693 | Kicukiro | Kanombe | 0 | 4 | 2.96 | public_tap | improved | medium | 0.05 | [('high child count', 0.942348646448285), ('low income', -0.7101807921754557), ('unsafe water source', -0.8083009815349379)] |
HH-0078 | -1.477626 | 29.57449 | Musanze | Busogo | 0 | 2 | 1.13 | protected_well | basic | low | 99.96 | [('low meal count', 7.498243434628569), ('low income', 0.8797762052322806), ('unsafe water source', 0.3803769324870297)] |
HH-0079 | -1.483512 | 29.702682 | Musanze | Kimonyi | 0 | 2 | 2.59 | piped_into_dwelling | basic | low | 1.35 | [('low income', 0.8797762052322806), ('high child count', 0.03624417870954945), ('poor sanitation', -0.3896879572468985)] |
HH-0080 | -1.854532 | 30.068026 | Gasabo | Rusororo | 1 | 3 | 2.4 | unprotected_well | basic | low | 72.99 | [('unsafe water source', 1.5690548465089973), ('low income', 0.8797762052322806), ('high child count', 0.4892964125789172)] |
HH-0081 | -1.990476 | 30.188303 | Kicukiro | Kanombe | 1 | 0 | 2.36 | public_tap | basic | medium | 1.69 | [('poor sanitation', -0.3896879572468985), ('low meal count', -0.7010507641503355), ('low income', -0.7101807921754557)] |
HH-0082 | -2.493471 | 29.675652 | Huye | Gishamvu | 0 | 4 | 3.01 | protected_well | basic | low | 2.17 | [('high child count', 0.942348646448285), ('low income', 0.8797762052322806), ('unsafe water source', 0.3803769324870297)] |
HH-0083 | -2.036557 | 30.192328 | Kicukiro | Kigarama | 1 | 3 | 1.89 | piped_into_dwelling | improved | medium | 11.44 | [('low meal count', 2.432012872781441), ('high child count', 0.4892964125789172), ('low income', -0.7101807921754557)] |
HH-0084 | -2.047549 | 30.193812 | Kicukiro | Gahanga | 1 | 4 | 2.73 | protected_well | basic | medium | 2.84 | [('high child count', 0.942348646448285), ('unsafe water source', 0.3803769324870297), ('poor sanitation', -0.3896879572468985)] |
HH-0085 | -1.93988 | 30.056696 | Gasabo | Rusororo | 1 | 3 | 3.51 | unprotected_well | basic | low | 0.16 | [('unsafe water source', 1.5690548465089973), ('low income', 0.8797762052322806), ('high child count', 0.4892964125789172)] |
HH-0086 | -2.002773 | 30.185985 | Kicukiro | Kanombe | 1 | 1 | 3.22 | piped_into_dwelling | improved | low | 0 | [('low income', 0.8797762052322806), ('high child count', -0.4168080551598183), ('poor sanitation', -1.6743735305883223)] |
HH-0087 | -1.914679 | 30.08501 | Gasabo | Rusororo | 1 | 5 | 3.04 | public_tap | unimproved | low | 3.05 | [('high child count', 1.3954008803176525), ('poor sanitation', 0.8949976160945254), ('low income', 0.8797762052322806)] |
HH-0088 | -2.048693 | 30.150808 | Kicukiro | Masaka | 1 | 0 | 2.78 | public_tap | basic | low | 0.51 | [('low income', 0.8797762052322806), ('poor sanitation', -0.3896879572468985), ('unsafe water source', -0.8083009815349379)] |
HH-0089 | -1.952161 | 30.027765 | Nyarugenge | Mageregere | 1 | 1 | 1.49 | public_tap | basic | low | 97.76 | [('low meal count', 5.098450010595719), ('low income', 0.8797762052322806), ('poor sanitation', -0.3896879572468985)] |
HH-0090 | -1.906351 | 30.054522 | Gasabo | Kacyiru | 0 | 2 | 2.32 | public_tap | unimproved | low | 49.54 | [('poor sanitation', 0.8949976160945254), ('low income', 0.8797762052322806), ('high child count', 0.03624417870954945)] |
HH-0091 | -1.902131 | 30.133204 | Gasabo | Kacyiru | 1 | 1 | 2.65 | public_tap | basic | low | 1.88 | [('low income', 0.8797762052322806), ('poor sanitation', -0.3896879572468985), ('high child count', -0.4168080551598183)] |
HH-0092 | -2.553243 | 29.842163 | Huye | Ngoma | 0 | 4 | 1.96 | public_tap | unimproved | low | 96.4 | [('low meal count', 1.9653863736639419), ('high child count', 0.942348646448285), ('poor sanitation', 0.8949976160945254)] |
HH-0093 | -1.949276 | 30.098672 | Gasabo | Gisozi | 1 | 1 | 2.69 | piped_into_dwelling | unimproved | medium | 0.33 | [('poor sanitation', 0.8949976160945254), ('high child count', -0.4168080551598183), ('low income', -0.7101807921754557)] |
HH-0094 | -1.523721 | 29.67038 | Musanze | Kimonyi | 0 | 1 | 2.13 | public_tap | basic | medium | 11.11 | [('low meal count', 0.8321505900928742), ('poor sanitation', -0.3896879572468985), ('high child count', -0.4168080551598183)] |
HH-0095 | -2.529305 | 29.77917 | Huye | Gishamvu | 0 | 3 | 2.3 | surface_water | basic | medium | 77.89 | [('unsafe water source', 2.7577327605309656), ('high child count', 0.4892964125789172), ('low meal count', -0.30108519347819346)] |
HH-0096 | -1.942222 | 30.061157 | Gasabo | Ndera | 1 | 1 | 2.4 | surface_water | basic | medium | 42.23 | [('unsafe water source', 2.7577327605309656), ('poor sanitation', -0.3896879572468985), ('high child count', -0.4168080551598183)] |
HH-0097 | -1.907336 | 30.130734 | Gasabo | Rusororo | 1 | 1 | 2.9 | piped_into_dwelling | improved | low | 0.03 | [('low income', 0.8797762052322806), ('high child count', -0.4168080551598183), ('poor sanitation', -1.6743735305883223)] |
HH-0098 | -1.948517 | 30.069619 | Nyarugenge | Mageregere | 0 | 1 | 1.82 | piped_into_dwelling | basic | high | 5.78 | [('low meal count', 2.8986393718989385), ('poor sanitation', -0.3896879572468985), ('high child count', -0.4168080551598183)] |
HH-0099 | -2.027798 | 30.148617 | Kicukiro | Nyarugunga | 1 | 2 | 3.47 | public_tap | unimproved | low | 0.05 | [('poor sanitation', 0.8949976160945254), ('low income', 0.8797762052322806), ('high child count', 0.03624417870954945)] |
HH-0100 | -2.040033 | 30.165072 | Kicukiro | Masaka | 1 | 1 | 2.88 | public_tap | unimproved | medium | 0.3 | [('poor sanitation', 0.8949976160945254), ('high child count', -0.4168080551598183), ('low income', -0.7101807921754557)] |
End of preview.
Stunting Risk Rwanda — Synthetic Dataset
Synthetic NISR-style household dataset for childhood stunting risk modelling. Generated for the AIMS KTT Hackathon (S2.T1.2).
Files
| File | Description |
|---|---|
| raw/households.csv | 2,500 households with features |
| raw/gold_stunting_flag.csv | 300 labelled households (50/50) |
| raw/districts.geojson | Simplified district polygons |
| processed/households_scored.csv | All 2,500 households with risk scores |
| generate_data.py | Reproducible data generator script |
Schema — households.csv
household_id, lat, lon, district, sector, is_urban, children_under5, avg_meal_count, water_source, sanitation_tier, income_band
Regenerate
python generate_data.py
- Downloads last month
- 11