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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
task_categories:
|
| 6 |
+
- tabular-classification
|
| 7 |
+
- tabular-regression
|
| 8 |
+
multilinguality: monolingual
|
| 9 |
+
size_categories:
|
| 10 |
+
- 1K<n<10K
|
| 11 |
+
tags:
|
| 12 |
+
- tabular
|
| 13 |
+
- xlsx
|
| 14 |
+
- africa
|
| 15 |
+
- mozambique
|
| 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: "Inquerito Crime e Justica 2020 | Africa (Mozambique official open data)"
|
| 24 |
+
---
|
| 25 |
+
|
| 26 |
+
# Inquerito Crime e Justica 2020 | Africa (Mozambique official open data)
|
| 27 |
+
|
| 28 |
+
1,150 rows - 1 Africa country - 2020 - Repackaged by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)
|
| 29 |
+
|
| 30 |
+

|
| 31 |
+

|
| 32 |
+

|
| 33 |
+

|
| 34 |
+

|
| 35 |
+
|
| 36 |
+
## TL;DR
|
| 37 |
+
|
| 38 |
+
This dataset packages one official `XLSX` resource from **Mozambique** 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:** [Inquerito Crime e Justica 2020](https://mozdata.ine.gov.mz/index.php/catalog/60/related-materials)
|
| 45 |
+
- **Publisher:** DEMOVIS
|
| 46 |
+
- **Resource:** [Verbetes - Inquérito Mensal aos Comandos da Polícia](https://mozdata.ine.gov.mz/index.php/catalog/60/download/337)
|
| 47 |
+
- **Format:** `XLSX`
|
| 48 |
+
- **License:** [Other open license]()
|
| 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 |
+
| `MOZ` | 1,150 | 2020 | 2020 | `Mozambique` |
|
| 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. | `moz-ine-nada-60-337:policia:0` |
|
| 68 |
+
| `country_iso3` | `category` | ISO3 country code. | `MOZ` |
|
| 69 |
+
| `country_name` | `category` | Country name. | `Mozambique` |
|
| 70 |
+
| `source_sheet` | `string` | Workbook sheet name, when the source is a spreadsheet. | `Policia` |
|
| 71 |
+
| `year` | `Int64` | Observation year. | `2020` |
|
| 72 |
+
| `tipos_de_crimes` | `string` | Source column. | `Titulo 1- CRIMES CONTRA PESSOAS` |
|
| 73 |
+
| `conhecidos` | `string` | Source column. | `` |
|
| 74 |
+
| `column_3` | `string` | Source column. | `` |
|
| 75 |
+
| `column_4` | `string` | Source column. | `` |
|
| 76 |
+
| `column_5` | `string` | Source column. | `` |
|
| 77 |
+
| `column_6` | `string` | Source column. | `` |
|
| 78 |
+
| `column_7` | `string` | Source column. | `` |
|
| 79 |
+
| `column_8` | `string` | Source column. | `` |
|
| 80 |
+
| `column_9` | `string` | Source column. | `` |
|
| 81 |
+
| `esclarecidos` | `string` | Source column. | `` |
|
| 82 |
+
| `column_11` | `string` | Source column. | `` |
|
| 83 |
+
| `column_12` | `string` | Source column. | `` |
|
| 84 |
+
| `column_13` | `string` | Source column. | `` |
|
| 85 |
+
| `column_14` | `string` | Source column. | `` |
|
| 86 |
+
| `column_15` | `string` | Source column. | `` |
|
| 87 |
+
| `column_16` | `string` | Source column. | `` |
|
| 88 |
+
| `nao_esclarecidos` | `string` | Source column. | `` |
|
| 89 |
+
| `source_period_start_year` | `Int64` | First year inferred from source resource metadata. | `2020` |
|
| 90 |
+
| `source_period_end_year` | `Int64` | Last year inferred from source resource metadata. | `2020` |
|
| 91 |
+
| `source_period_label` | `category` | Human-readable period inferred from source resource metadata. | `2020` |
|
| 92 |
+
| `source_provider` | `category` | Publishing organization. | `DEMOVIS` |
|
| 93 |
+
| `source_dataset` | `category` | Source package title. | `Inquerito Crime e Justica 2020` |
|
| 94 |
+
| `source_resource` | `category` | Source resource title. | `Verbetes - Inquérito Mensal aos Comandos da Polícia` |
|
| 95 |
+
| `source_package_id` | `category` | CKAN package UUID. | `MZ-JC-2020` |
|
| 96 |
+
| `source_resource_id` | `category` | CKAN resource UUID. | `moz-ine-nada-60-337` |
|
| 97 |
+
| `source_url` | `category` | Original source resource URL. | `https://mozdata.ine.gov.mz/index.php/catalog/60/download/337` |
|
| 98 |
+
| `license_id` | `category` | Source license identifier. | `other-open` |
|
| 99 |
+
| `retrieved_at` | `category` | UTC retrieval timestamp. | `2026-08-07T22:10:37Z` |
|
| 100 |
+
| `column_10` | `string` | Source column. | `` |
|
| 101 |
+
| `column_17` | `string` | Source column. | `` |
|
| 102 |
+
| `column_1` | `string` | Source column. | `` |
|
| 103 |
+
| `h` | `string` | Source column. | `` |
|
| 104 |
+
| `m` | `string` | Source column. | `` |
|
| 105 |
+
| `h_2` | `string` | Source column. | `` |
|
| 106 |
+
| `m_2` | `string` | Source column. | `` |
|
| 107 |
+
| `h_3` | `string` | Source column. | `` |
|
| 108 |
+
| `m_3` | `string` | Source column. | `` |
|
| 109 |
+
| `h_4` | `string` | Source column. | `` |
|
| 110 |
+
| `m_4` | `string` | Source column. | `` |
|
| 111 |
+
| `h_5` | `string` | Source column. | `` |
|
| 112 |
+
| `m_5` | `string` | Source column. | `` |
|
| 113 |
+
| `h_6` | `string` | Source column. | `` |
|
| 114 |
+
| `m_6` | `string` | Source column. | `` |
|
| 115 |
+
| `h_7` | `string` | Source column. | `` |
|
| 116 |
+
| `m_7` | `string` | Source column. | `` |
|
| 117 |
+
| `h_8` | `string` | Source column. | `` |
|
| 118 |
+
| `m_8` | `string` | Source column. | `` |
|
| 119 |
+
| `h_9` | `string` | Source column. | `` |
|
| 120 |
+
| `m_9` | `string` | Source column. | `` |
|
| 121 |
+
| `h_10` | `string` | Source column. | `` |
|
| 122 |
+
| `m_10` | `string` | Source column. | `` |
|
| 123 |
+
| `h_11` | `string` | Source column. | `` |
|
| 124 |
+
| `m_11` | `string` | Source column. | `` |
|
| 125 |
+
| `h_12` | `string` | Source column. | `` |
|
| 126 |
+
| `m_12` | `string` | Source column. | `` |
|
| 127 |
+
|
| 128 |
+
## Usage
|
| 129 |
+
|
| 130 |
+
```python
|
| 131 |
+
from datasets import load_dataset
|
| 132 |
+
|
| 133 |
+
ds = load_dataset("electricsheepafrica/africa-mozambique-inquerito-crime-e-justica-2020-0a8badad")
|
| 134 |
+
df = ds["train"].to_pandas()
|
| 135 |
+
print(df.head())
|
| 136 |
+
```
|
| 137 |
+
|
| 138 |
+
### Filter to one country
|
| 139 |
+
|
| 140 |
+
```python
|
| 141 |
+
sample_country = df[df["country_iso3"] == "MOZ"]
|
| 142 |
+
```
|
| 143 |
+
|
| 144 |
+
### Work with indicators
|
| 145 |
+
|
| 146 |
+
```python
|
| 147 |
+
if "indicator_id" in df.columns:
|
| 148 |
+
print(df["indicator_id"].value_counts().head())
|
| 149 |
+
sample = df.sort_values([c for c in ["indicator_id", "year"] if c in df.columns])
|
| 150 |
+
```
|
| 151 |
+
|
| 152 |
+
## Citation
|
| 153 |
+
|
| 154 |
+
```bibtex
|
| 155 |
+
@misc{electric_sheep_africa_africa_mozambique_inquerito_crime_e_justica_2020_0a8badad_2020,
|
| 156 |
+
title = {Inquerito Crime e Justica 2020 | Africa (Mozambique official open data)},
|
| 157 |
+
author = {DEMOVIS},
|
| 158 |
+
year = {2020},
|
| 159 |
+
url = {https://mozdata.ine.gov.mz/index.php/catalog/60/related-materials},
|
| 160 |
+
publisher = {HuggingFace Datasets, repackaged by Electric Sheep Africa},
|
| 161 |
+
howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-mozambique-inquerito-crime-e-justica-2020-0a8badad}}
|
| 162 |
+
}
|
| 163 |
+
```
|
| 164 |
+
|
| 165 |
+
## License
|
| 166 |
+
|
| 167 |
+
Released under [Other open license]().
|
| 168 |
+
|
| 169 |
+
Original data (c) DEMOVIS. When using this dataset, please cite both the
|
| 170 |
+
original source above and the Electric Sheep Africa repackaging.
|
| 171 |
+
|
| 172 |
+
## About Electric Sheep
|
| 173 |
+
|
| 174 |
+
Electric Sheep Africa is part of the Electric Sheep mission: a unified,
|
| 175 |
+
ML-ready data layer for Africa on Hugging Face. We pull data from authoritative
|
| 176 |
+
open sources, normalize the schemas, package as Parquet, and publish with
|
| 177 |
+
consistent dataset cards so researchers and developers can use `load_dataset()`
|
| 178 |
+
to start working in seconds.
|
| 179 |
+
|
| 180 |
+
Browse the full collection: [huggingface.co/electricsheepafrica](https://huggingface.co/electricsheepafrica)
|
| 181 |
+
|
| 182 |
+
---
|
| 183 |
+
|
| 184 |
+
Provenance: ingested 2026-08-07 via the Electric Sheep pipeline. Source URL:
|
| 185 |
+
https://mozdata.ine.gov.mz/index.php/catalog/60/download/337
|
data/train-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:036c666b7871458d980adb5b5fe45523d68561274d225a5a653dd4c645bcf56e
|
| 3 |
+
size 47857
|
metadata/source_snapshot.json
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"columns": [
|
| 3 |
+
"source_record_id",
|
| 4 |
+
"country_iso3",
|
| 5 |
+
"country_name",
|
| 6 |
+
"source_sheet",
|
| 7 |
+
"year",
|
| 8 |
+
"tipos_de_crimes",
|
| 9 |
+
"conhecidos",
|
| 10 |
+
"column_3",
|
| 11 |
+
"column_4",
|
| 12 |
+
"column_5",
|
| 13 |
+
"column_6",
|
| 14 |
+
"column_7",
|
| 15 |
+
"column_8",
|
| 16 |
+
"column_9",
|
| 17 |
+
"esclarecidos",
|
| 18 |
+
"column_11",
|
| 19 |
+
"column_12",
|
| 20 |
+
"column_13",
|
| 21 |
+
"column_14",
|
| 22 |
+
"column_15",
|
| 23 |
+
"column_16",
|
| 24 |
+
"nao_esclarecidos",
|
| 25 |
+
"source_period_start_year",
|
| 26 |
+
"source_period_end_year",
|
| 27 |
+
"source_period_label",
|
| 28 |
+
"source_provider",
|
| 29 |
+
"source_dataset",
|
| 30 |
+
"source_resource",
|
| 31 |
+
"source_package_id",
|
| 32 |
+
"source_resource_id",
|
| 33 |
+
"source_url",
|
| 34 |
+
"license_id",
|
| 35 |
+
"retrieved_at",
|
| 36 |
+
"column_10",
|
| 37 |
+
"column_17",
|
| 38 |
+
"column_1",
|
| 39 |
+
"h",
|
| 40 |
+
"m",
|
| 41 |
+
"h_2",
|
| 42 |
+
"m_2",
|
| 43 |
+
"h_3",
|
| 44 |
+
"m_3",
|
| 45 |
+
"h_4",
|
| 46 |
+
"m_4",
|
| 47 |
+
"h_5",
|
| 48 |
+
"m_5",
|
| 49 |
+
"h_6",
|
| 50 |
+
"m_6",
|
| 51 |
+
"h_7",
|
| 52 |
+
"m_7",
|
| 53 |
+
"h_8",
|
| 54 |
+
"m_8",
|
| 55 |
+
"h_9",
|
| 56 |
+
"m_9",
|
| 57 |
+
"h_10",
|
| 58 |
+
"m_10",
|
| 59 |
+
"h_11",
|
| 60 |
+
"m_11",
|
| 61 |
+
"h_12",
|
| 62 |
+
"m_12"
|
| 63 |
+
],
|
| 64 |
+
"generated_at": "2026-08-07T22:11:08Z",
|
| 65 |
+
"indicator_count": 0,
|
| 66 |
+
"mode": "tabular_resource",
|
| 67 |
+
"repo_id": "electricsheepafrica/africa-mozambique-inquerito-crime-e-justica-2020-0a8badad",
|
| 68 |
+
"rows": 1150,
|
| 69 |
+
"source": {
|
| 70 |
+
"api_base_url": "https://mozdata.ine.gov.mz/index.php/api/catalog/search",
|
| 71 |
+
"country_iso3": "MOZ",
|
| 72 |
+
"country_name": "Mozambique",
|
| 73 |
+
"group_names": "Verbetes - Inquérito Mensal aos Comandos da Polícia; Novo Verbete_ComandosPRM03092020 (1).xlsx; 2020",
|
| 74 |
+
"license_id": "other-open",
|
| 75 |
+
"license_title": "Public INE Mozambique related material",
|
| 76 |
+
"license_url": "https://mozdata.ine.gov.mz/index.php/catalog/60",
|
| 77 |
+
"organization_title": "DEMOVIS",
|
| 78 |
+
"package_id": "MZ-JC-2020",
|
| 79 |
+
"package_name": "mz-jc-2020",
|
| 80 |
+
"package_notes": "",
|
| 81 |
+
"package_page_url": "https://mozdata.ine.gov.mz/index.php/catalog/60/related-materials",
|
| 82 |
+
"package_title": "Inquerito Crime e Justica 2020",
|
| 83 |
+
"package_type": "survey",
|
| 84 |
+
"portal_title": "Instituto Nacional de Estatistica Microdata Catalog",
|
| 85 |
+
"portal_url": "https://mozdata.ine.gov.mz",
|
| 86 |
+
"resource_created": "2021-11-03T16:31:40+03:00",
|
| 87 |
+
"resource_description": "Document, Questionnaire [doc/qst]",
|
| 88 |
+
"resource_filename": "Novo Verbete_ComandosPRM03092020 (1).xlsx",
|
| 89 |
+
"resource_format": "XLSX",
|
| 90 |
+
"resource_id": "moz-ine-nada-60-337",
|
| 91 |
+
"resource_last_modified": "2023-11-08T11:05:53+03:00",
|
| 92 |
+
"resource_mimetype": "",
|
| 93 |
+
"resource_name": "Verbetes - Inquérito Mensal aos Comandos da Polícia",
|
| 94 |
+
"resource_position": "0",
|
| 95 |
+
"resource_url": "https://mozdata.ine.gov.mz/index.php/catalog/60/download/337",
|
| 96 |
+
"source_catalog_id": "60",
|
| 97 |
+
"source_idno": "MZ-JC-2020",
|
| 98 |
+
"source_total_downloads": "2897",
|
| 99 |
+
"source_total_views": "3661",
|
| 100 |
+
"tag_names": "survey; Document, Questionnaire [doc/qst]; Questionários"
|
| 101 |
+
},
|
| 102 |
+
"year_max": 2020,
|
| 103 |
+
"year_min": 2020
|
| 104 |
+
}
|