Algeria's Agriculture Institutions

@geoalgeria/agriculture

196 agriculture-sector institutions across all 58 wilayas — services directorates (DSA), forest conservations, technical & research institutes, training centres, chambers of agriculture, public offices and groups from the Ministry of Agriculture's institutional directory, bilingual FR/AR, geocoded to commune/wilaya centroid.

196 agricultural institutionsView on mapnpm

Source: Ministry of Agriculture and Rural Development — institutional directory

Install

npm install @geoalgeria/agriculture

Quick example

import agriculture from "@geoalgeria/agriculture";

const all = agriculture.agriculture();    // 196 institutions
const dsa = agriculture.institutionsByType("dsa"); // 58 directorates
const meta = agriculture.metadata();       // counts, sources, licenses

API reference

NameSignatureDescription
agricultureagriculture(): AgricultureInstitution[]All 196 agriculture-sector institutions.
institutionsByWilayainstitutionsByWilaya(code): AgricultureInstitution[]Institutions in a wilaya (numeric or zero-padded code).
institutionsByTypeinstitutionsByType(type): AgricultureInstitution[]Institutions of a given network type.
metadatametadata(): MetadataPackage metadata (counts, sources, licenses).

Record shape

FieldTypeNullableDescription
idstringRecord id (e.g. "16-office_public-01").
namestringBest display name (French preferred, else Arabic).
name_arstringyesName in Arabic.
name_frstringyesName in French (null for the Arabic-only named institutes).
type"dsa" | "conservation_forets" | "institut_recherche" | "centre_formation" | "chambre_agriculture" | "office_public" | "groupe_public"Institution network (7 networks).
type_label_frstringCanonical French label for the type.
type_label_arstringCanonical Arabic label for the type.
sector"public"Ownership sector (the MADR directory is entirely public).
abbreviationstringyesLatin abbreviation (e.g. "INRAA", "OAIC").
wilayastringWilaya name (French).
wilaya_arstringWilaya name (Arabic).
wilaya_codestringWilaya code, zero-padded ("01".."58").
communestringyesCommune name, address-matched (null when only the wilaya centroid was used).
commune_codenumberyesCommune code (best-effort).
latnumberyesLatitude (commune or wilaya centroid; null when ungeocoded).
lngnumberyesLongitude (null when ungeocoded).
addressstringyesStreet address (Arabic) as listed in the directory.
phonestringyesPhone number (digits).
faxstringyesFax number (digits).
source"madr" | "madr+wikidata"Provenance (the MADR directory, plus Wikidata where a precise point matched).
geo_precision"wikidata_point" | "commune_centroid" | "wilaya_centroid" | "none"How the coordinates were obtained (mostly approximate centroids, not surveyed points).
wikidatastringyesWikidata QID when a Wikidata entity matched.
osm_idstringyesOSM element id (e.g. "node/123") when an OSM entity matched.
slugstringURL slug.

Formats

JSONCSVGEOJSONTS

The npm package ships JSON. Other formats are available in each GitHub Release.

Related packages