interva commited on
Commit
081454d
·
verified ·
1 Parent(s): ac8859b

Upload dataset folder

Browse files
README.md ADDED
@@ -0,0 +1,144 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ language:
4
+ - en
5
+ task_categories:
6
+ - tabular-classification
7
+ - tabular-regression
8
+ multilinguality: monolingual
9
+ size_categories:
10
+ - 1M<n<10M
11
+ tags:
12
+ - tabular
13
+ - zip
14
+ - africa
15
+ - libya
16
+ - official-statistics
17
+ - open-data
18
+ - population
19
+ configs:
20
+ - config_name: default
21
+ data_files:
22
+ - split: train
23
+ path: data/train-00000-of-00001.parquet
24
+ pretty_name: "Libya: High Resolution Population Density Maps + Demographic Estimates | Africa (Libya official open data)"
25
+ ---
26
+
27
+ # Libya: High Resolution Population Density Maps + Demographic Estimates | Africa (Libya official open data)
28
+
29
+ 2,714,516 rows - 1 Africa country - 2020 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
30
+
31
+ ![rows](https://img.shields.io/badge/rows-2714516-blue)
32
+ ![countries](https://img.shields.io/badge/countries-1-green)
33
+ ![years](https://img.shields.io/badge/years-2020-orange)
34
+ ![indicators](https://img.shields.io/badge/indicators-0-purple)
35
+ ![license](https://img.shields.io/badge/license-cc-by-4.0-lightgrey)
36
+
37
+ ## TL;DR
38
+
39
+ This dataset packages one official `ZIP` resource from **Libya** as
40
+ ML-ready Parquet. The source file is the provenance boundary; all usable
41
+ indicators or tabular columns from the resource stay together in this repo.
42
+
43
+ ## About the source
44
+
45
+ - **Source:** [Libya: High Resolution Population Density Maps + Demographic Estimates](https://data.humdata.org/dataset/highresolutionpopulationdensitymaps-lby)
46
+ - **Publisher:** AI for Good at Meta
47
+ - **Resource:** [lby_men_2020_csv.zip](https://data.humdata.org/dataset/3aa70182-5982-4161-8651-e68f92f1e0bc/resource/669c3d90-c998-4b51-b9c6-d5860159196b/download/lby_men_2020_csv.zip)
48
+ - **Format:** `ZIP`
49
+ - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
50
+ - **Packaging mode:** `tabular_resource`
51
+
52
+ ## Geographic coverage
53
+
54
+ 1 Africa country:
55
+
56
+ | Country | Rows | First year | Last year | Name |
57
+ |---------|-----:|-----------:|----------:|------|
58
+ | `LBY` | 2,714,516 | 2020 | 2020 | `Libya` |
59
+
60
+ ## Indicators or Resource Contents
61
+
62
+ - This source file is packaged as a normalized tabular resource.
63
+
64
+ ## Schema
65
+
66
+ | Column | Type | Description | Example |
67
+ |--------|------|-------------|---------|
68
+ | `source_record_id` | `string` | Stable row identifier for tabular resources. | `669c3d90-c998-4b51-b9c6-d5860159196b:0` |
69
+ | `country_iso3` | `category` | ISO3 country code. | `LBY` |
70
+ | `country_name` | `category` | Country name. | `Libya` |
71
+ | `year` | `Int64` | Observation year. | `2020` |
72
+ | `longitude` | `float64` | Source column. | `10.00597222237502` |
73
+ | `latitude` | `float64` | Source column. | `34.00013888885886` |
74
+ | `lby_men_2020` | `float64` | Source column. | `2.537482` |
75
+ | `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `2020` |
76
+ | `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `2020` |
77
+ | `source_period_label` | `category` | Human-readable period inferred from source resource metadata. | `2020` |
78
+ | `source_provider` | `category` | Publishing organization. | `AI for Good at Meta` |
79
+ | `source_dataset` | `category` | Source package title. | `Libya: High Resolution Population Density Maps + Demographic Estimates` |
80
+ | `source_resource` | `category` | Source resource title. | `lby_men_2020_csv.zip` |
81
+ | `source_package_id` | `category` | CKAN package UUID. | `3aa70182-5982-4161-8651-e68f92f1e0bc` |
82
+ | `source_resource_id` | `category` | CKAN resource UUID. | `669c3d90-c998-4b51-b9c6-d5860159196b` |
83
+ | `source_url` | `category` | Original source resource URL. | `https://data.humdata.org/dataset/3aa70182-5982-4161-8651-e68f92f1e0bc/re` |
84
+ | `license_id` | `category` | Source license identifier. | `cc-by` |
85
+ | `retrieved_at` | `category` | UTC retrieval timestamp. | `2026-08-17T13:13:43Z` |
86
+
87
+ ## Usage
88
+
89
+ ```python
90
+ from datasets import load_dataset
91
+
92
+ ds = load_dataset("electricsheepafrica/africa-libya-libya-high-resolution-population-density-maps-demographic-26fe86f4")
93
+ df = ds["train"].to_pandas()
94
+ print(df.head())
95
+ ```
96
+
97
+ ### Filter to one country
98
+
99
+ ```python
100
+ sample_country = df[df["country_iso3"] == "LBY"]
101
+ ```
102
+
103
+ ### Work with indicators
104
+
105
+ ```python
106
+ if "indicator_id" in df.columns:
107
+ print(df["indicator_id"].value_counts().head())
108
+ sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
109
+ ```
110
+
111
+ ## Citation
112
+
113
+ ```bibtex
114
+ @misc{electric_sheep_africa_africa_libya_libya_high_resolution_population_density_maps_demographic_26fe86f4_2020,
115
+ title = {Libya: High Resolution Population Density Maps + Demographic Estimates | Africa (Libya official open data)},
116
+ author = {AI for Good at Meta},
117
+ year = {2020},
118
+ url = {https://data.humdata.org/dataset/highresolutionpopulationdensitymaps-lby},
119
+ publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
120
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-libya-libya-high-resolution-population-density-maps-demographic-26fe86f4}}
121
+ }
122
+ ```
123
+
124
+ ## License
125
+
126
+ Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
127
+
128
+ Original data (c) AI for Good at Meta. When using this dataset, please cite both the
129
+ original source above and the Electric Sheep Africa repackaging.
130
+
131
+ ## About Electric Sheep
132
+
133
+ Electric Sheep Africa is part of the Electric Sheep mission: a unified,
134
+ ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
135
+ open sources, normalize the schemas, package as Parquet, and publish with
136
+ consistent dataset cards so researchers and developers can use `load_dataset()`
137
+ to start working in seconds.
138
+
139
+ Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
140
+
141
+ ---
142
+
143
+ Provenance: ingested 2026-08-17 via the Electric Sheep pipeline. Source URL:
144
+ https://data.humdata.org/dataset/3aa70182-5982-4161-8651-e68f92f1e0bc/resource/669c3d90-c998-4b51-b9c6-d5860159196b/download/lby_men_2020_csv.zip
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6da06ee88c57b031b8d371d7de2262051ef3f7e73700ed56d0c84769f250f4b3
3
+ size 7897141
metadata/source_snapshot.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "columns": [
3
+ "source_record_id",
4
+ "country_iso3",
5
+ "country_name",
6
+ "year",
7
+ "longitude",
8
+ "latitude",
9
+ "lby_men_2020",
10
+ "source_period_start_year",
11
+ "source_period_end_year",
12
+ "source_period_label",
13
+ "source_provider",
14
+ "source_dataset",
15
+ "source_resource",
16
+ "source_package_id",
17
+ "source_resource_id",
18
+ "source_url",
19
+ "license_id",
20
+ "retrieved_at"
21
+ ],
22
+ "generated_at": "2026-08-17T14:31:50Z",
23
+ "indicator_count": 0,
24
+ "mode": "tabular_resource",
25
+ "repo_id": "electricsheepafrica/africa-libya-libya-high-resolution-population-density-maps-demographic-26fe86f4",
26
+ "rows": 2714516,
27
+ "source": {
28
+ "api_base_url": "https://data.humdata.org/api/3/action",
29
+ "country_iso3": "LBY",
30
+ "country_name": "Libya",
31
+ "group_names": "lby",
32
+ "license_id": "cc-by",
33
+ "license_title": "Creative Commons Attribution International (CC BY)",
34
+ "license_url": "http://www.opendefinition.org/licenses/cc-by",
35
+ "organization_name": "meta",
36
+ "organization_title": "AI for Good at Meta",
37
+ "package_id": "3aa70182-5982-4161-8651-e68f92f1e0bc",
38
+ "package_name": "highresolutionpopulationdensitymaps-lby",
39
+ "package_notes": "The world's most accurate population datasets. Seven maps/datasets for the distribution of various populations in Libya: (1) Overall population density (2) Women (3) Men (4) Children (ages 0-5) (5) Youth (ages 15-24) (6) Elderly (ages 60+) (7) Women of reproductive age (ages 15-49).",
40
+ "package_page_url": "https://data.humdata.org/dataset/highresolutionpopulationdensitymaps-lby",
41
+ "package_title": "Libya: High Resolution Population Density Maps + Demographic Estimates",
42
+ "portal_url": "https://data.humdata.org",
43
+ "resource_description": "",
44
+ "resource_format": "ZIP",
45
+ "resource_id": "669c3d90-c998-4b51-b9c6-d5860159196b",
46
+ "resource_last_modified": "2022-08-26T20:41:35.299038",
47
+ "resource_name": "lby_men_2020_csv.zip",
48
+ "resource_position": "6",
49
+ "resource_url": "https://data.humdata.org/dataset/3aa70182-5982-4161-8651-e68f92f1e0bc/resource/669c3d90-c998-4b51-b9c6-d5860159196b/download/lby_men_2020_csv.zip",
50
+ "tag_names": "baseline population,children,elderly,geodata,men,women,youth"
51
+ },
52
+ "year_max": 2020,
53
+ "year_min": 2020
54
+ }