Add README.md
Browse files
README.md
CHANGED
|
@@ -1,82 +1,183 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
dataset_info:
|
| 3 |
-
features:
|
| 4 |
-
- name: region
|
| 5 |
-
dtype: string
|
| 6 |
-
- name: province
|
| 7 |
-
dtype: string
|
| 8 |
-
- name: mun
|
| 9 |
-
dtype: string
|
| 10 |
-
- name: regcode_new
|
| 11 |
-
dtype: string
|
| 12 |
-
- name: regcode_old
|
| 13 |
-
dtype: string
|
| 14 |
-
- name: provcode_new
|
| 15 |
-
dtype: string
|
| 16 |
-
- name: provcode_old
|
| 17 |
-
dtype: string
|
| 18 |
-
- name: muncode_new
|
| 19 |
-
dtype: string
|
| 20 |
-
- name: muncode_old
|
| 21 |
-
dtype: string
|
| 22 |
-
- name: disability
|
| 23 |
-
dtype: string
|
| 24 |
-
- name: sex
|
| 25 |
-
dtype: string
|
| 26 |
-
- name: status
|
| 27 |
-
dtype: string
|
| 28 |
-
- name: household_population_5_years_old_and_over_with_functional_difficulty
|
| 29 |
-
dtype: int64
|
| 30 |
-
- name: age_5_9
|
| 31 |
-
dtype: int64
|
| 32 |
-
- name: age_10_14
|
| 33 |
-
dtype: int64
|
| 34 |
-
- name: age_15_19
|
| 35 |
-
dtype: int64
|
| 36 |
-
- name: age_20_24
|
| 37 |
-
dtype: int64
|
| 38 |
-
- name: age_25_29
|
| 39 |
-
dtype: int64
|
| 40 |
-
- name: age_30_34
|
| 41 |
-
dtype: int64
|
| 42 |
-
- name: age_35_39
|
| 43 |
-
dtype: int64
|
| 44 |
-
- name: age_40_44
|
| 45 |
-
dtype: int64
|
| 46 |
-
- name: age_45_49
|
| 47 |
-
dtype: int64
|
| 48 |
-
- name: age_50_54
|
| 49 |
-
dtype: int64
|
| 50 |
-
- name: age_55_59
|
| 51 |
-
dtype: int64
|
| 52 |
-
- name: age_60_64
|
| 53 |
-
dtype: int64
|
| 54 |
-
- name: age_65_69
|
| 55 |
-
dtype: int64
|
| 56 |
-
- name: age_70_74
|
| 57 |
-
dtype: int64
|
| 58 |
-
- name: age_75_79
|
| 59 |
-
dtype: int64
|
| 60 |
-
- name: age_80_years_and_over
|
| 61 |
-
dtype: int64
|
| 62 |
-
- name: esa_source
|
| 63 |
-
dtype: string
|
| 64 |
-
- name: esa_processed
|
| 65 |
-
dtype: string
|
| 66 |
splits:
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
num_bytes: 8683527
|
| 72 |
-
num_examples: 23659
|
| 73 |
-
download_size: 6950273
|
| 74 |
-
dataset_size: 43425436
|
| 75 |
-
configs:
|
| 76 |
-
- config_name: default
|
| 77 |
-
data_files:
|
| 78 |
-
- split: train
|
| 79 |
-
path: data/train-*
|
| 80 |
-
- split: test
|
| 81 |
-
path: data/test-*
|
| 82 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
annotations_creators:
|
| 3 |
+
- no-annotation
|
| 4 |
+
language_creators:
|
| 5 |
+
- found
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
license: cc-by-4.0
|
| 9 |
+
multilinguality:
|
| 10 |
+
- monolingual
|
| 11 |
+
size_categories:
|
| 12 |
+
- 100K<n<1M
|
| 13 |
+
source_datasets:
|
| 14 |
+
- original
|
| 15 |
+
task_categories:
|
| 16 |
+
- tabular-classification
|
| 17 |
+
task_ids: []
|
| 18 |
+
tags:
|
| 19 |
+
- africa
|
| 20 |
+
- humanitarian
|
| 21 |
+
- hdx
|
| 22 |
+
- electric-sheep-africa
|
| 23 |
+
- census
|
| 24 |
+
- disability
|
| 25 |
+
- gender-and-age-disaggregated-data-gadd
|
| 26 |
+
- phl
|
| 27 |
+
pretty_name: "Philippines functional difficulty census 2020"
|
| 28 |
dataset_info:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
splits:
|
| 30 |
+
- name: train
|
| 31 |
+
num_examples: 94632
|
| 32 |
+
- name: test
|
| 33 |
+
num_examples: 23658
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
---
|
| 35 |
+
|
| 36 |
+
# Philippines functional difficulty census 2020
|
| 37 |
+
|
| 38 |
+
**Publisher:** OCHA Philippines · **Source:** [HDX](https://data.humdata.org/dataset/philippines-functional-difficulty-census-2020) · **License:** `cc-by` · **Updated:** 2025-07-22
|
| 39 |
+
|
| 40 |
+
---
|
| 41 |
+
|
| 42 |
+
## Abstract
|
| 43 |
+
|
| 44 |
+
Philippines: Household Population 5 Years Old and Over by Functional Difficulty, Severity, Age Group, Sex, and City/Municipality Census 2020
|
| 45 |
+
|
| 46 |
+
Each row in this dataset represents first-level administrative unit observations. Data was last updated on HDX on 2025-07-22. Geographic scope: **PHL**.
|
| 47 |
+
|
| 48 |
+
*Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
|
| 49 |
+
|
| 50 |
+
---
|
| 51 |
+
|
| 52 |
+
## Dataset Characteristics
|
| 53 |
+
|
| 54 |
+
| | |
|
| 55 |
+
|---|---|
|
| 56 |
+
| **Domain** | Demographics and population |
|
| 57 |
+
| **Unit of observation** | First-level administrative unit observations |
|
| 58 |
+
| **Rows (total)** | 118,291 |
|
| 59 |
+
| **Columns** | 31 (17 numeric, 14 categorical, 0 datetime) |
|
| 60 |
+
| **Train split** | 94,632 rows |
|
| 61 |
+
| **Test split** | 23,658 rows |
|
| 62 |
+
| **Geographic scope** | PHL |
|
| 63 |
+
| **Publisher** | OCHA Philippines |
|
| 64 |
+
| **HDX last updated** | 2025-07-22 |
|
| 65 |
+
|
| 66 |
+
---
|
| 67 |
+
|
| 68 |
+
## Variables
|
| 69 |
+
|
| 70 |
+
**Geographic** — `region` (Region VIII (Eastern Visayas), Region IV-A (CALABARZON), Region VI (Western Visayas)), `province` (CEBU, BOHOL, PANGASINAN), `disability` ( Self-caring (washing all over or dressing), Seeing even if wearing eyeglasses, Hearing even if using a hearing aid), `sex`, `household_population_5_years_old_and_over_with_functional_difficulty` (range 0.0–158468.0) and 1 others.
|
| 71 |
+
|
| 72 |
+
**Demographic** — `age_5_9` (range 0.0–1814.0), `age_10_14` (range 0.0–3089.0), `age_15_19` (range 0.0–5248.0), `age_20_24` (range 0.0–6838.0), `age_25_29` (range 0.0–7245.0) and 10 others.
|
| 73 |
+
|
| 74 |
+
**Identifier / Metadata** — `regcode_new` (PH0800000000, PH0400000000, PH0600000000), `regcode_old` (PH080000000, PH040000000, PH060000000), `provcode_new` (PH0702200000, PH0701200000, PH0105500000), `provcode_old` (PH072200000, PH015500000, PH071200000), `muncode_new` (PH1004217000, PH0305421000, PH0907225000) and 3 others.
|
| 75 |
+
|
| 76 |
+
**Other** — `mun` (SAN ISIDRO, SAN JOSE, SAN MIGUEL), `status`.
|
| 77 |
+
|
| 78 |
+
---
|
| 79 |
+
|
| 80 |
+
## Quick Start
|
| 81 |
+
|
| 82 |
+
```python
|
| 83 |
+
from datasets import load_dataset
|
| 84 |
+
|
| 85 |
+
ds = load_dataset("electricsheepafrica/asia-census-philippines-functional-difficulty-census")
|
| 86 |
+
train = ds["train"].to_pandas()
|
| 87 |
+
test = ds["test"].to_pandas()
|
| 88 |
+
|
| 89 |
+
print(train.shape)
|
| 90 |
+
train.head()
|
| 91 |
+
```
|
| 92 |
+
|
| 93 |
+
---
|
| 94 |
+
|
| 95 |
+
## Schema
|
| 96 |
+
|
| 97 |
+
| Column | Type | Null % | Range / Sample Values |
|
| 98 |
+
|---|---|---|---|
|
| 99 |
+
| `region` | object | 0.0% | Region VIII (Eastern Visayas), Region IV-A (CALABARZON), Region VI (Western Visayas) |
|
| 100 |
+
| `province` | object | 0.0% | CEBU, BOHOL, PANGASINAN |
|
| 101 |
+
| `mun` | object | 0.0% | SAN ISIDRO, SAN JOSE, SAN MIGUEL |
|
| 102 |
+
| `regcode_new` | object | 0.0% | PH0800000000, PH0400000000, PH0600000000 |
|
| 103 |
+
| `regcode_old` | object | 0.0% | PH080000000, PH040000000, PH060000000 |
|
| 104 |
+
| `provcode_new` | object | 0.0% | PH0702200000, PH0701200000, PH0105500000 |
|
| 105 |
+
| `provcode_old` | object | 0.5% | PH072200000, PH015500000, PH071200000 |
|
| 106 |
+
| `muncode_new` | object | 0.0% | PH1004217000, PH0305421000, PH0907225000 |
|
| 107 |
+
| `muncode_old` | object | 0.5% | PH104217000, PH035421000, PH097225000 |
|
| 108 |
+
| `disability` | object | 0.0% | Self-caring (washing all over or dressing), Seeing even if wearing eyeglasses, Hearing even if using a hearing aid |
|
| 109 |
+
| `sex` | object | 0.0% | |
|
| 110 |
+
| `status` | object | 0.0% | |
|
| 111 |
+
| `household_population_5_years_old_and_over_with_functional_difficulty` | int64 | 0.0% | 0.0 – 158468.0 (mean 453.2272) |
|
| 112 |
+
| `age_5_9` | int64 | 0.0% | 0.0 – 1814.0 (mean 7.2631) |
|
| 113 |
+
| `age_10_14` | int64 | 0.0% | 0.0 – 3089.0 (mean 7.4244) |
|
| 114 |
+
| `age_15_19` | int64 | 0.0% | 0.0 – 5248.0 (mean 8.6837) |
|
| 115 |
+
| `age_20_24` | int64 | 0.0% | 0.0 – 6838.0 (mean 10.4521) |
|
| 116 |
+
| `age_25_29` | int64 | 0.0% | 0.0 – 7245.0 (mean 11.2575) |
|
| 117 |
+
| `age_30_34` | int64 | 0.0% | 0.0 – 6517.0 (mean 11.9206) |
|
| 118 |
+
| `age_35_39` | int64 | 0.0% | 0.0 – 6357.0 (mean 13.5599) |
|
| 119 |
+
| `age_40_44` | int64 | 0.0% | 0.0 – 10443.0 (mean 23.3327) |
|
| 120 |
+
| `age_45_49` | int64 | 0.0% | 0.0 – 16164.0 (mean 32.821) |
|
| 121 |
+
| `age_50_54` | int64 | 0.0% | 0.0 – 19872.0 (mean 41.9724) |
|
| 122 |
+
| `age_55_59` | int64 | 0.0% | 0.0 – 20334.0 (mean 45.4262) |
|
| 123 |
+
| `age_60_64` | int64 | 0.0% | 0.0 – 20893.0 (mean 51.9463) |
|
| 124 |
+
| `age_65_69` | int64 | 0.0% | 0.0 – 17443.0 (mean 48.6366) |
|
| 125 |
+
| `age_70_74` | int64 | 0.0% | 0.0 – 14032.0 (mean 45.0239) |
|
| 126 |
+
| `age_75_79` | int64 | 0.0% | 0.0 – 10714.0 (mean 35.7994) |
|
| 127 |
+
| `age_80_years_and_over` | int64 | 0.0% | 0.0 – 11525.0 (mean 57.7073) |
|
| 128 |
+
| `esa_source` | object | 0.0% | |
|
| 129 |
+
| `esa_processed` | object | 0.0% | |
|
| 130 |
+
|
| 131 |
+
---
|
| 132 |
+
|
| 133 |
+
## Numeric Summary
|
| 134 |
+
|
| 135 |
+
| Column | Min | Max | Mean | Median |
|
| 136 |
+
|---|---|---|---|---|
|
| 137 |
+
| `household_population_5_years_old_and_over_with_functional_difficulty` | 0.0 | 158468.0 | 453.2272 | 93.0 |
|
| 138 |
+
| `age_5_9` | 0.0 | 1814.0 | 7.2631 | 2.0 |
|
| 139 |
+
| `age_10_14` | 0.0 | 3089.0 | 7.4244 | 2.0 |
|
| 140 |
+
| `age_15_19` | 0.0 | 5248.0 | 8.6837 | 2.0 |
|
| 141 |
+
| `age_20_24` | 0.0 | 6838.0 | 10.4521 | 2.0 |
|
| 142 |
+
| `age_25_29` | 0.0 | 7245.0 | 11.2575 | 2.0 |
|
| 143 |
+
| `age_30_34` | 0.0 | 6517.0 | 11.9206 | 3.0 |
|
| 144 |
+
| `age_35_39` | 0.0 | 6357.0 | 13.5599 | 3.0 |
|
| 145 |
+
| `age_40_44` | 0.0 | 10443.0 | 23.3327 | 3.0 |
|
| 146 |
+
| `age_45_49` | 0.0 | 16164.0 | 32.821 | 3.0 |
|
| 147 |
+
| `age_50_54` | 0.0 | 19872.0 | 41.9724 | 4.0 |
|
| 148 |
+
| `age_55_59` | 0.0 | 20334.0 | 45.4262 | 5.0 |
|
| 149 |
+
| `age_60_64` | 0.0 | 20893.0 | 51.9463 | 7.0 |
|
| 150 |
+
| `age_65_69` | 0.0 | 17443.0 | 48.6366 | 7.0 |
|
| 151 |
+
| `age_70_74` | 0.0 | 14032.0 | 45.0239 | 9.0 |
|
| 152 |
+
|
| 153 |
+
---
|
| 154 |
+
|
| 155 |
+
## Curation
|
| 156 |
+
|
| 157 |
+
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`. 6 exact duplicate rows were removed. The dataset was split 80/20 into train and test partitions using a fixed random seed (42) and saved as Snappy-compressed Parquet.
|
| 158 |
+
|
| 159 |
+
---
|
| 160 |
+
|
| 161 |
+
## Limitations
|
| 162 |
+
|
| 163 |
+
- Data originates from OCHA Philippines and has not been independently validated by ESA.
|
| 164 |
+
- Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
|
| 165 |
+
- Refer to the [original HDX dataset page](https://data.humdata.org/dataset/philippines-functional-difficulty-census-2020) for the publisher's own methodology notes and caveats.
|
| 166 |
+
|
| 167 |
+
---
|
| 168 |
+
|
| 169 |
+
## Citation
|
| 170 |
+
|
| 171 |
+
```bibtex
|
| 172 |
+
@dataset{hdx_asia_census_philippines_functional_difficulty_census,
|
| 173 |
+
title = {Philippines functional difficulty census 2020},
|
| 174 |
+
author = {OCHA Philippines},
|
| 175 |
+
year = {2025},
|
| 176 |
+
url = {https://data.humdata.org/dataset/philippines-functional-difficulty-census-2020},
|
| 177 |
+
note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
|
| 178 |
+
}
|
| 179 |
+
```
|
| 180 |
+
|
| 181 |
+
---
|
| 182 |
+
|
| 183 |
+
*[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*
|