--- license: other language: - en task_categories: - tabular-classification - tabular-regression multilinguality: multilingual size_categories: - 100K` | ISO3 country or area code. | `ZAF` | | `country_name` | `dictionary` | Country or area name. | `South Africa` | | `year` | `int64` | Observation year. | `2026` | | `demarcation_code` | `string` | Source column from the original resource. | `WC015` | | `name` | `string` | Source column from the original resource. | `Swartland` | | `code` | `int64` | Source column from the original resource. | `1110` | | `label` | `string` | Source column from the original resource. | `Mayor and Council` | | `code_1` | `int64` | Source column from the original resource. | `920` | | `label_1` | `string` | Source column from the original resource. | `Public Open Space` | | `code_2` | `string` | Source column from the original resource. | `DEPRECIATION` | | `label_2` | `string` | Source column from the original resource. | `Deprecation` | | `year_end` | `int64` | Source column from the original resource. | `2026` | | `length` | `string` | Source column from the original resource. | `year` | | `period` | `int64` | Source column from the original resource. | `2026` | | `code_3` | `string` | Source column from the original resource. | `ADJB` | | `label_3` | `string` | Source column from the original resource. | `Adjusted Budget` | | `amount` | `double` | Source column from the original resource. | `10191.0` | | `source_period_start_year` | `int64` | Start year inferred from source metadata. | `2026` | | `source_period_end_year` | `int64` | End year inferred from source metadata. | `2026` | | `source_period_label` | `dictionary` | Source column from the original resource. | `2026` | | `source_provider` | `dictionary` | Publishing organization. | `National Treasury, South Africa` | | `source_dataset` | `dictionary` | Source dataset or package title. | `Capital Acquisition (v2) - 2026` | | `source_resource` | `dictionary` | Source resource title, table name, or file name. | `Capital Acquisition (v2) - 2026` | | `source_package_id` | `dictionary` | Source package identifier. | `capital-acquisition-v2-2026-municipal-money-a192ceb0692c8c` | | `source_resource_id` | `dictionary` | Source resource identifier. | `municipal-money-a192ceb0692c8c` | | `source_url` | `dictionary` | Original source URL or download URL. | `https://munimoney-media.s3.eu-west-1.amazonaws.com/munimoney-media/me...` | | `license_id` | `dictionary` | Source license identifier. | `other-open` | | `retrieved_at` | `dictionary` | UTC source retrieval timestamp from the Electric Sheep Africa pipeline. | `2026-07-22T19:25:13Z` | ## Usage ```python from datasets import load_dataset ds = load_dataset("electricsheepafrica/africa-south-africa-capital-acquisition-v2-2026-d9a49da8") df = ds["train"].to_pandas() print(df.head()) ``` ### Inspect Columns ```python print(df.info()) print(df.head()) ``` ### Filter By Geography ```python if "country_iso3" in df.columns: sample = df[df["country_iso3"] == "ZAF"] ``` ### Time-Series Pattern ```python if "value" in df.columns and "year" in df.columns: trend = df.sort_values("year") ``` ### Pivot For Analysis ```python if {"indicator_id", "year", "value"}.issubset(df.columns): matrix = df.pivot_table(index="year", columns="indicator_id", values="value") print(matrix.tail()) ``` ## Data Quality Notes - Canonical time field: `year`. - Missing values are preserved rather than silently imputed. - Column names are standardized for machine use; source meanings are preserved where known. - Always confirm source methodology, units, and collection definitions before policy, production, or redistribution-sensitive use. ## Source And Provenance - **Source:** [National Treasury, South Africa](https://municipaldata.treasury.gov.za/docs#cube-capital_v2) - **Publisher:** National Treasury, South Africa - **Portal:** [https://municipaldata.treasury.gov.za](https://municipaldata.treasury.gov.za) - **Resource:** [Capital Acquisition (v2) - 2026](https://munimoney-media.s3.eu-west-1.amazonaws.com/munimoney-media/media/bulk_downloads/capital_facts_v2/capital_facts_v2_2026__2026-07-17_15-28-56.csv) - **License:** other-open - **Retrieved/generated:** `2026-07-22T19:26:31Z` - **Hugging Face repo:** [electricsheepafrica/africa-south-africa-capital-acquisition-v2-2026-d9a49da8](https://huggingface.co/datasets/electricsheepafrica/africa-south-africa-capital-acquisition-v2-2026-d9a49da8) ## Transformations Applied - Converted the source table to Parquet for efficient analytics and ML workflows. - Added or preserved source provenance columns where available. - Standardized README metadata, dataset loading configuration, schema documentation, and citation format. - Preserved source-reported values without analytical imputation. ## Suggested Analyses - Build time-series dashboards - Compare economic indicators - Join with population or sector data - Build time-series views and period-over-period comparisons - Check missingness before modeling - Use `country_iso3` as the safest geography join key when present ## Citation ```bibtex @misc{electric_sheep_africa_africa_south_africa_capital_acquisition_v2_2026_d9a49da8_2026, title = {Capital Acquisition V2 2026 | Africa (National Treasury, South Africa)}, author = {National Treasury, South Africa}, year = {2026}, url = {https://municipaldata.treasury.gov.za/docs#cube-capital_v2}, publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa}, howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-south-africa-capital-acquisition-v2-2026-d9a49da8}} } ``` ## License Released under other-open. Original data is published by National Treasury, South Africa. Electric Sheep Africa engineering standardizes the data for discovery, loading, and analysis on Hugging Face. Cite both the original source and this ML-ready dataset when used. ## About Electric Sheep Africa Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face. --- Provenance: README standardized 2026-08-12 by the Electric Sheep Africa README system. Source URL: https://municipaldata.treasury.gov.za/docs#cube-capital_v2