interva commited on
Commit
d8e6fd9
·
verified ·
1 Parent(s): f07d47a

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
+ - n<1K
11
+ tags:
12
+ - tabular
13
+ - csv
14
+ - africa
15
+ - djibouti
16
+ - official-statistics
17
+ - open-data
18
+ configs:
19
+ - config_name: default
20
+ data_files:
21
+ - split: train
22
+ path: data/train-00000-of-00001.parquet
23
+ pretty_name: "Small Business Surveys - Aggregated Data | Africa (Djibouti official open data)"
24
+ ---
25
+
26
+ # Small Business Surveys - Aggregated Data | Africa (Djibouti official open data)
27
+
28
+ 184 rows - 1 Africa country - 2021 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
29
+
30
+ ![rows](https://img.shields.io/badge/rows-184-blue)
31
+ ![countries](https://img.shields.io/badge/countries-1-green)
32
+ ![years](https://img.shields.io/badge/years-2021-orange)
33
+ ![indicators](https://img.shields.io/badge/indicators-0-purple)
34
+ ![license](https://img.shields.io/badge/license-cc-by-4.0-lightgrey)
35
+
36
+ ## TL;DR
37
+
38
+ This dataset packages one official `CSV` resource from **Djibouti** as
39
+ ML-ready Parquet. The source file is the provenance boundary; all usable
40
+ indicators or tabular columns from the resource stay together in this repo.
41
+
42
+ ## About the source
43
+
44
+ - **Source:** [Small Business Surveys - Aggregated Data](https://data.humdata.org/dataset/future-of-business-survey-aggregated-data)
45
+ - **Publisher:** AI for Good at Meta
46
+ - **Resource:** [gsosb_2021julyaugust_codebook.csv](https://data.humdata.org/dataset/8bd3d109-d33d-4349-90c4-464c9d7ccb66/resource/f3a62c9e-bcb7-46ce-8c49-f20dc12000a1/download/gsosb_2021julyaugust_codebook.csv)
47
+ - **Format:** `CSV`
48
+ - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
49
+ - **Packaging mode:** `tabular_resource`
50
+
51
+ ## Geographic coverage
52
+
53
+ 1 Africa country:
54
+
55
+ | Country | Rows | First year | Last year | Name |
56
+ |---------|-----:|-----------:|----------:|------|
57
+ | `DJI` | 184 | 2021 | 2021 | `Djibouti` |
58
+
59
+ ## Indicators or Resource Contents
60
+
61
+ - This source file is packaged as a normalized tabular resource.
62
+
63
+ ## Schema
64
+
65
+ | Column | Type | Description | Example |
66
+ |--------|------|-------------|---------|
67
+ | `source_record_id` | `string` | Stable row identifier for tabular resources. | `f3a62c9e-bcb7-46ce-8c49-f20dc12000a1:0` |
68
+ | `country_iso3` | `category` | ISO3 country code. | `DJI` |
69
+ | `country_name` | `category` | Country name. | `Djibouti` |
70
+ | `year` | `Int64` | Observation year. | `2021` |
71
+ | `variables` | `string` | Source column. | `bus_cur_opn_text` |
72
+ | `question_text` | `string` | Source column. | `Is this business currently operational or engaging in any revenue-genera` |
73
+ | `question_type` | `string` | Source column. | `radio` |
74
+ | `question_options` | `string` | Source column. | `{"1":"No","2":"Yes"}` |
75
+ | `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `2021` |
76
+ | `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `2021` |
77
+ | `source_period_label` | `category` | Human-readable period inferred from source resource metadata. | `2021` |
78
+ | `source_provider` | `category` | Publishing organization. | `AI for Good at Meta` |
79
+ | `source_dataset` | `category` | Source package title. | `Small Business Surveys - Aggregated Data` |
80
+ | `source_resource` | `category` | Source resource title. | `gsosb_2021julyaugust_codebook.csv` |
81
+ | `source_package_id` | `category` | CKAN package UUID. | `8bd3d109-d33d-4349-90c4-464c9d7ccb66` |
82
+ | `source_resource_id` | `category` | CKAN resource UUID. | `f3a62c9e-bcb7-46ce-8c49-f20dc12000a1` |
83
+ | `source_url` | `category` | Original source resource URL. | `https://data.humdata.org/dataset/8bd3d109-d33d-4349-90c4-464c9d7ccb66/re` |
84
+ | `license_id` | `category` | Source license identifier. | `cc-by` |
85
+ | `retrieved_at` | `category` | UTC retrieval timestamp. | `2026-08-16T10:32:57Z` |
86
+
87
+ ## Usage
88
+
89
+ ```python
90
+ from datasets import load_dataset
91
+
92
+ ds = load_dataset("electricsheepafrica/africa-djibouti-small-business-surveys-aggregated-data-2d646d73")
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"] == "DJI"]
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_djibouti_small_business_surveys_aggregated_data_2d646d73_2021,
115
+ title = {Small Business Surveys - Aggregated Data | Africa (Djibouti official open data)},
116
+ author = {AI for Good at Meta},
117
+ year = {2021},
118
+ url = {https://data.humdata.org/dataset/future-of-business-survey-aggregated-data},
119
+ publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
120
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-djibouti-small-business-surveys-aggregated-data-2d646d73}}
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-16 via the Electric Sheep pipeline. Source URL:
144
+ https://data.humdata.org/dataset/8bd3d109-d33d-4349-90c4-464c9d7ccb66/resource/f3a62c9e-bcb7-46ce-8c49-f20dc12000a1/download/gsosb_2021julyaugust_codebook.csv
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dba7162697637ab9f5fa96953018f43bd7ccd5a42934e8c4f5ad5149980af0c1
3
+ size 22183
metadata/source_snapshot.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "columns": [
3
+ "source_record_id",
4
+ "country_iso3",
5
+ "country_name",
6
+ "year",
7
+ "variables",
8
+ "question_text",
9
+ "question_type",
10
+ "question_options",
11
+ "source_period_start_year",
12
+ "source_period_end_year",
13
+ "source_period_label",
14
+ "source_provider",
15
+ "source_dataset",
16
+ "source_resource",
17
+ "source_package_id",
18
+ "source_resource_id",
19
+ "source_url",
20
+ "license_id",
21
+ "retrieved_at"
22
+ ],
23
+ "generated_at": "2026-08-16T11:09:53Z",
24
+ "indicator_count": 0,
25
+ "mode": "tabular_resource",
26
+ "repo_id": "electricsheepafrica/africa-djibouti-small-business-surveys-aggregated-data-2d646d73",
27
+ "rows": 184,
28
+ "source": {
29
+ "api_base_url": "https://data.humdata.org/api/3/action",
30
+ "country_iso3": "DJI",
31
+ "country_name": "Djibouti",
32
+ "group_names": "ago,arg,aus,bgd,bel,ben,bfa,bdi,cpv,khm,cmr,can,caf,tcd,chn,hkg,col,cri,civ,cze,cod,dnk,dji,ecu,egy,gnq,est,eth,fra,gab,gmb,deu,gha,grc,gin,gnb,hun,ind,idn,irq,irl,isr,ita,jpn,ken,lbn,lso,lbr,lby,mwi,mli,mrt,mus,mex,moz,mmr,nam,nld,ner,nga,nor,pak,per,phl,pol,prt,kor,reu,rou,rus,rwa,stp,sau,sen,syc,sle,sgp,zaf,esp,swe,che,twn,tha,tgo,tur,uga,are,gbr,tza,usa,vnm,zmb",
33
+ "license_id": "cc-by",
34
+ "license_title": "Creative Commons Attribution International (CC BY)",
35
+ "license_url": "http://www.opendefinition.org/licenses/cc-by",
36
+ "organization_name": "meta",
37
+ "organization_title": "AI for Good at Meta",
38
+ "package_id": "8bd3d109-d33d-4349-90c4-464c9d7ccb66",
39
+ "package_name": "future-of-business-survey-aggregated-data",
40
+ "package_notes": "More than 200 million businesses use Facebook globally. The goal of our Small Business Surveys has been to learn about the unique perspectives, challenges and opportunities of small and medium-sized businesses (SMBs). Through 2022, the Future of Business Survey and the Global State of Small Business (GSoSB) Survey were conducted in partnership with the World Bank and Organisation for Economic Cooperation and Development. Aggregated country level data for each survey wave is available to the public on HDX and controlled access microdata is available to Data for Good at Meta partners. Please visit https://ai.meta.com/ai-for-good/datasets/small-business-surveys/ to apply for access to microdata or contact aiforgood@meta.com for any questions. This dataset regularly updated until 2023-03-24 and is no longer expecting additional data.",
41
+ "package_page_url": "https://data.humdata.org/dataset/future-of-business-survey-aggregated-data",
42
+ "package_title": "Small Business Surveys - Aggregated Data",
43
+ "portal_url": "https://data.humdata.org",
44
+ "resource_description": "Codebook for the Global State of Small Business Survey, fielded in July and August 2021.",
45
+ "resource_format": "CSV",
46
+ "resource_id": "f3a62c9e-bcb7-46ce-8c49-f20dc12000a1",
47
+ "resource_last_modified": "2021-10-06T20:51:37.866644",
48
+ "resource_name": "gsosb_2021julyaugust_codebook.csv",
49
+ "resource_position": "11",
50
+ "resource_url": "https://data.humdata.org/dataset/8bd3d109-d33d-4349-90c4-464c9d7ccb66/resource/f3a62c9e-bcb7-46ce-8c49-f20dc12000a1/download/gsosb_2021julyaugust_codebook.csv",
51
+ "tag_names": "covid-19,economics,gender,trade,water sanitation and hygiene-wash"
52
+ },
53
+ "year_max": 2021,
54
+ "year_min": 2021
55
+ }