@geoalgeria/agriculture 1.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.ar.md +9 -9
- package/README.fr.md +11 -11
- package/README.md +11 -11
- package/data/agriculture.json +1769 -2357
- package/data/csv/agriculture.csv +197 -197
- package/data/geojson/agriculture.geojson +6473 -1
- package/data/metadata.json +39 -15
- package/dataset-metadata.json +50 -0
- package/package.json +2 -1
- package/types/index.d.ts +74 -56
package/README.ar.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# @geoalgeria/agriculture
|
|
6
6
|
|
|
7
|
-
**مؤسسات القطاع الفلاحي في
|
|
7
|
+
**مؤسسات القطاع الفلاحي في الجزائر، كبيانات قابلة للتثبيت.**
|
|
8
8
|
|
|
9
9
|
[](https://www.npmjs.com/package/@geoalgeria/agriculture)
|
|
10
10
|
[](https://www.npmjs.com/package/@geoalgeria/agriculture)
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
# نظرة عامة
|
|
16
16
|
|
|
17
|
-
196 مؤسسة من القطاع الفلاحي مستخرجة من دليل **وزارة الفلاحة والتنمية الريفية والصيد البحري**
|
|
17
|
+
196 مؤسسة من القطاع الفلاحي مستخرجة من دليل **وزارة الفلاحة والتنمية الريفية والصيد البحري** – مديريات المصالح الفلاحية، محافظات الغابات، المعاهد التقنية ومراكز البحث، مراكز التكوين، الغرف الفلاحية، الدواوين والمجمعات العمومية – ثنائية اللغة (فرنسي/عربي)، مصنّفة، مع ربط بالولاية/البلدية وإحداثيات.
|
|
18
18
|
|
|
19
19
|
## التثبيت
|
|
20
20
|
|
|
@@ -60,7 +60,7 @@ institutionsByWilaya(16).map((r) => r.name);
|
|
|
60
60
|
| `groupe_public` | 10 | المجمعات العمومية (GVAPRO، AGROLOG، GIPLAIT…) |
|
|
61
61
|
| `office_public` | 4 | الدواوين العمومية (OAIC، ONIL، ONILEV، ONTA) |
|
|
62
62
|
|
|
63
|
-
**حسب
|
|
63
|
+
**حسب طريقة تحديد الموقع** (`geo_method`)
|
|
64
64
|
|
|
65
65
|
| القيمة | العدد | المعنى |
|
|
66
66
|
| --- | --- | --- |
|
|
@@ -71,10 +71,10 @@ institutionsByWilaya(16).map((r) => r.name);
|
|
|
71
71
|
|
|
72
72
|
## الصيغ
|
|
73
73
|
|
|
74
|
-
- `data/agriculture.json`
|
|
75
|
-
- `data/csv/agriculture.csv`
|
|
76
|
-
- `data/geojson/agriculture.geojson`
|
|
77
|
-
- `data/metadata.json`
|
|
74
|
+
- `data/agriculture.json` – المصفوفة الكاملة (مع أنواع `types/index.d.ts`)
|
|
75
|
+
- `data/csv/agriculture.csv` – ملف CSV
|
|
76
|
+
- `data/geojson/agriculture.geojson` – `FeatureCollection` (كل السجلات)
|
|
77
|
+
- `data/metadata.json` – الأعداد والمصادر وتاريخ التوليد
|
|
78
78
|
|
|
79
79
|
## كيف بُنيت البيانات
|
|
80
80
|
|
|
@@ -82,11 +82,11 @@ institutionsByWilaya(16).map((r) => r.name);
|
|
|
82
82
|
|
|
83
83
|
## حول الدقة
|
|
84
84
|
|
|
85
|
-
> الأسماء والولاية والعنوان والهاتف/الفاكس **رسمية** (دليل الوزارة). الدليل لا يحتوي على **أي إحداثيات**: يُوضَع كل سجل في مركز البلدية المذكورة في عنوانه، أو
|
|
85
|
+
> الأسماء والولاية والعنوان والهاتف/الفاكس **رسمية** (دليل الوزارة). الدليل لا يحتوي على **أي إحداثيات**: يُوضَع كل سجل في مركز البلدية المذكورة في عنوانه، أو – عند تعذّر ذلك – في مركز مقرّ الولاية (انظر `geo_method`؛ قيمة `geo_precision` هي `"approximate"` لكل سجل هنا – لا توجد نقاط مساحية مرصودة). هذه مواقع تقريبية للـ*ولاية/البلدية* وليست نقاطًا مساحية للمباني.
|
|
86
86
|
|
|
87
87
|
## المصدر والترخيص
|
|
88
88
|
|
|
89
|
-
بيانات من **وزارة الفلاحة والتنمية الريفية والصيد البحري**
|
|
89
|
+
بيانات من **وزارة الفلاحة والتنمية الريفية والصيد البحري** – قائمة واقعية للقطاع العمومي، يُعاد توزيعها كمرجع. يستعمل الربط بالولاية/البلدية مجموعة بيانات geoalgeria الأساسية. كود الحزمة تحت رخصة MIT (انظر [LICENSE](LICENSE)).
|
|
90
90
|
|
|
91
91
|
## أسئلة؟
|
|
92
92
|
|
package/README.fr.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# @geoalgeria/agriculture
|
|
6
6
|
|
|
7
|
-
**Les institutions du secteur agricole en Algérie
|
|
7
|
+
**Les institutions du secteur agricole en Algérie, sous forme de données installables.**
|
|
8
8
|
|
|
9
9
|
[](https://www.npmjs.com/package/@geoalgeria/agriculture)
|
|
10
10
|
[](https://www.npmjs.com/package/@geoalgeria/agriculture)
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
# Aperçu
|
|
16
16
|
|
|
17
|
-
196 institutions du secteur agricole issues de l'annuaire du **Ministère de l'Agriculture et du Développement Rural (MADR)**
|
|
17
|
+
196 institutions du secteur agricole issues de l'annuaire du **Ministère de l'Agriculture et du Développement Rural (MADR)** – directions des services agricoles, conservations des forêts, instituts techniques et de recherche, centres de formation, chambres d'agriculture, offices et groupes publics – bilingue (FR/AR), typé, avec rattachement wilaya/commune et coordonnées.
|
|
18
18
|
|
|
19
19
|
## Installation
|
|
20
20
|
|
|
@@ -60,33 +60,33 @@ institutionsByWilaya(16).map((r) => r.name);
|
|
|
60
60
|
| `groupe_public` | 10 | Groupes publics (GVAPRO, AGROLOG, GIPLAIT…) |
|
|
61
61
|
| `office_public` | 4 | Offices publics (OAIC, ONIL, ONILEV, ONTA) |
|
|
62
62
|
|
|
63
|
-
**Par
|
|
63
|
+
**Par méthode de géocodage** (`geo_method`)
|
|
64
64
|
|
|
65
65
|
| Valeur | Nombre | Signification |
|
|
66
66
|
| --- | --- | --- |
|
|
67
67
|
| `commune_centroid` | 89 | L'adresse correspond à une commune ; centroïde de cette commune |
|
|
68
68
|
| `wilaya_centroid` | 107 | Pas de commune dans l'adresse ; centroïde du chef-lieu de wilaya |
|
|
69
69
|
|
|
70
|
-
> Les DSA couvrent les **58 wilayas**. Les Conservations des Forêts (48) et les Chambres d'Agriculture (49) utilisent le découpage **48 wilayas** d'avant 2019
|
|
70
|
+
> Les DSA couvrent les **58 wilayas**. Les Conservations des Forêts (48) et les Chambres d'Agriculture (49) utilisent le découpage **48 wilayas** d'avant 2019 – les wilayas du Sud y sont rattachées à leurs wilayas mères.
|
|
71
71
|
|
|
72
72
|
## Formats
|
|
73
73
|
|
|
74
|
-
- `data/agriculture.json`
|
|
75
|
-
- `data/csv/agriculture.csv`
|
|
76
|
-
- `data/geojson/agriculture.geojson`
|
|
77
|
-
- `data/metadata.json`
|
|
74
|
+
- `data/agriculture.json` – tableau complet (typé par `types/index.d.ts`)
|
|
75
|
+
- `data/csv/agriculture.csv` – CSV plat
|
|
76
|
+
- `data/geojson/agriculture.geojson` – `FeatureCollection` (tous les enregistrements)
|
|
77
|
+
- `data/metadata.json` – comptes, sources, date de génération
|
|
78
78
|
|
|
79
79
|
## Comment les données sont construites
|
|
80
80
|
|
|
81
|
-
Extraites de l'annuaire du MADR (`madr.gov.dz/contact/دليل-الهاتف/`, arabe
|
|
81
|
+
Extraites de l'annuaire du MADR (`madr.gov.dz/contact/دليل-الهاتف/`, arabe – la version à jour ; `fr.madr.gov.dz/contact/annuaire/` pour les libellés bilingues des catégories), normalisées vers les codes wilaya officiels, puis géocodées sur l'ensemble des communes de geoalgeria. Voir `research/agriculture/` dans le monorepo.
|
|
82
82
|
|
|
83
83
|
## Sur la précision
|
|
84
84
|
|
|
85
|
-
> Les noms, la wilaya, l'adresse et le tél./fax sont **officiels** (annuaire du MADR). L'annuaire ne contient **aucune coordonnée** : chaque enregistrement est placé au centroïde de la commune nommée dans son adresse, ou
|
|
85
|
+
> Les noms, la wilaya, l'adresse et le tél./fax sont **officiels** (annuaire du MADR). L'annuaire ne contient **aucune coordonnée** : chaque enregistrement est placé au centroïde de la commune nommée dans son adresse, ou – à défaut – au centroïde du chef-lieu de wilaya (voir `geo_method`; `geo_precision` vaut `"approximate"` pour chaque enregistrement – aucun de ces points n'est relevé sur le terrain). Ce sont des emplacements approximatifs de la *wilaya/commune*, pas des points de bâtiments relevés.
|
|
86
86
|
|
|
87
87
|
## Source & licence
|
|
88
88
|
|
|
89
|
-
Données du **Ministère de l'Agriculture et du Développement Rural (MADR)**
|
|
89
|
+
Données du **Ministère de l'Agriculture et du Développement Rural (MADR)** – un listing factuel du secteur public, redistribué à titre de référence. Le rattachement wilaya/commune utilise le jeu de données de base geoalgeria. Code du paquet sous MIT (voir [LICENSE](LICENSE)).
|
|
90
90
|
|
|
91
91
|
## Questions ?
|
|
92
92
|
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# @geoalgeria/agriculture
|
|
6
6
|
|
|
7
|
-
**Algeria's agriculture-sector institutions
|
|
7
|
+
**Algeria's agriculture-sector institutions, as data you can install.**
|
|
8
8
|
|
|
9
9
|
[](https://www.npmjs.com/package/@geoalgeria/agriculture)
|
|
10
10
|
[](https://www.npmjs.com/package/@geoalgeria/agriculture)
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
# Overview
|
|
16
16
|
|
|
17
|
-
196 agriculture-sector institutions from the **Ministry of Agriculture, Rural Development and Fisheries (MADR)** institutional directory
|
|
17
|
+
196 agriculture-sector institutions from the **Ministry of Agriculture, Rural Development and Fisheries (MADR)** institutional directory, agricultural-services directorates, forest conservations, technical & research institutes, training centres, chambers of agriculture, public offices and groups, bilingual (FR/AR), typed, with wilaya/commune linkage and coordinates.
|
|
18
18
|
|
|
19
19
|
## Installation
|
|
20
20
|
|
|
@@ -70,21 +70,21 @@ metadata().wilayas_covered; // 58
|
|
|
70
70
|
| `groupe_public` | 10 | Public groups (GVAPRO, AGROLOG, GIPLAIT…) |
|
|
71
71
|
| `office_public` | 4 | Public offices (OAIC, ONIL, ONILEV, ONTA) |
|
|
72
72
|
|
|
73
|
-
**By
|
|
73
|
+
**By geocoding method** (`geo_method`)
|
|
74
74
|
|
|
75
75
|
| Value | Count | Meaning |
|
|
76
76
|
| --- | --- | --- |
|
|
77
77
|
| `commune_centroid` | 89 | Address matched a commune; centroid of that commune |
|
|
78
78
|
| `wilaya_centroid` | 107 | No commune in the address; centroid of the wilaya chief town |
|
|
79
79
|
|
|
80
|
-
> DSA covers all **58 wilayas**. Conservations des Forêts (48) and Chambres d'Agriculture (49) use the pre-2019 **48-wilaya** division
|
|
80
|
+
> DSA covers all **58 wilayas**. Conservations des Forêts (48) and Chambres d'Agriculture (49) use the pre-2019 **48-wilaya** division, the southern wilayas fold into their parents there.
|
|
81
81
|
|
|
82
82
|
## Formats
|
|
83
83
|
|
|
84
|
-
- `data/agriculture.json`
|
|
85
|
-
- `data/csv/agriculture.csv`
|
|
86
|
-
- `data/geojson/agriculture.geojson`
|
|
87
|
-
- `data/metadata.json`
|
|
84
|
+
- `data/agriculture.json` – full array (typed by `types/index.d.ts`)
|
|
85
|
+
- `data/csv/agriculture.csv` – flat CSV
|
|
86
|
+
- `data/geojson/agriculture.geojson` – `FeatureCollection` (all records)
|
|
87
|
+
- `data/metadata.json` – counts, sources, generated date
|
|
88
88
|
|
|
89
89
|
```js
|
|
90
90
|
import data from "@geoalgeria/agriculture/data/agriculture.json" with { type: "json" };
|
|
@@ -96,15 +96,15 @@ import type { AgricultureInstitution } from "@geoalgeria/agriculture";
|
|
|
96
96
|
|
|
97
97
|
## How the data is built
|
|
98
98
|
|
|
99
|
-
Extracted from the MADR directory (`madr.gov.dz/contact/دليل-الهاتف/`, Arabic
|
|
99
|
+
Extracted from the MADR directory (`madr.gov.dz/contact/دليل-الهاتف/`, Arabic, the up-to-date side; `fr.madr.gov.dz/contact/annuaire/` for the bilingual category labels), normalized to official wilaya codes, then geocoded against the geoalgeria commune set. See `research/agriculture/` in the monorepo for the full pipeline (`parse.py` → `normalize.py` → `geocode.py`).
|
|
100
100
|
|
|
101
101
|
## On accuracy
|
|
102
102
|
|
|
103
|
-
> Names, wilaya, address and phone/fax are **official** (from the MADR directory). The directory carries **no coordinates**: each record is placed at the centroid of the commune named in its address, or
|
|
103
|
+
> Names, wilaya, address and phone/fax are **official** (from the MADR directory). The directory carries **no coordinates**: each record is placed at the centroid of the commune named in its address, or, when the address has no recognizable commune, at the centroid of the wilaya chief town (see `geo_method`; `geo_precision` is `"approximate"` for every record here, none of these are surveyed points). These are approximate locations for the *wilaya/commune*, not surveyed building points. Some source rows have minor typos that have been normalized.
|
|
104
104
|
|
|
105
105
|
## Source & license
|
|
106
106
|
|
|
107
|
-
Data from the **Ministry of Agriculture, Rural Development and Fisheries (MADR)
|
|
107
|
+
Data from the **Ministry of Agriculture, Rural Development and Fisheries (MADR)**, a factual public-sector listing, redistributed for reference. Wilaya/commune linkage uses the geoalgeria base dataset. Package code under MIT (see [LICENSE](LICENSE)).
|
|
108
108
|
|
|
109
109
|
## Questions?
|
|
110
110
|
|