Algeria's Schools

@geoalgeria/ecoles

11,830 schools and kindergartens across all 69 wilayas from OpenStreetMap (ODbL) — classified by cycle (4,020 primaire, 2,377 moyen/CEM, 1,574 secondaire/lycée, 268 préscolaire) and by kind (regular vs. language/Quranic/driving schools, training & special-needs centres). Bilingual FR/AR (8,640 named), with isced_levels, address and commune/wilaya linkage. The largest openly-geocoded school layer for Algeria.

11,830 schools & kindergartensView on mapnpm

Source: OpenStreetMap (ODbL) — amenity=school + amenity=kindergarten

Install

npm install @geoalgeria/ecoles

Quick example

import ecoles from "@geoalgeria/ecoles";

const all = ecoles.ecoles();                                 // 11,830 schools
const lycees = all.filter((e) => e.cycle === "secondaire");  // 1,574 lycées
const alger = all.filter((e) => e.wilaya_code === "16");     // schools in Algiers

API reference

NameSignatureDescription
ecolesecoles(): Ecole[]All 11,830 schools & kindergartens.
metadatametadata(): MetadataPackage metadata (counts by cycle/kind/sector, coverage, licences).

Record shape

FieldTypeNullableDescription
idstringStable id, `{wilaya}-{seq}` (e.g. "16-00042").
namestringyesBest available name (raw preferred, else FR/AR).
name_frstringyesFrench / Latin-script name.
name_arstringyesArabic name.
cycle"primaire" | "moyen" | "secondaire" | "prescolaire" | "autre"Education cycle (inferred from isced:level + name).
kind"regular" | "langues" | "coranique" | "conduite" | "formation" | "special"Establishment kind, orthogonal to cycle.
isced_levelsstringyesISCED levels served, sorted list (e.g. "1;2").
sector"public" | "private"yesOwnership, only when the map signals it.
wilaya_codestringZero-padded ("01".."69").
communestringCommune (nearest-centroid join).
commune_codenumberyesgeoalgeria commune code.
addressstringyesSingle-line address from OSM addr:* tags.
latnumberLatitude (WGS84).
lngnumberLongitude (WGS84).
geo_precision"osm_node" | "osm_centroid"Surveyed node vs. building centroid.
source"osm"Provenance (OpenStreetMap).
osm_idstringOSM element id (e.g. "way/292876445").

Formats

JSONCSVGEOJSONTS

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

Related packages