Skip to content

Commit

Permalink
Merge pull request #76 from OCHA-DAP/HAPI-335
Browse files Browse the repository at this point in the history
HAPI-335
  • Loading branch information
b-j-mills authored Apr 2, 2024
2 parents 7897c71 + fc24f90 commit a043175
Show file tree
Hide file tree
Showing 10 changed files with 719 additions and 87 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [0.7.4] - 2024-04-02

### Added

- Added all HRP countries to operational presence theme

## [0.7.3] - 2024-02-26

### Added
Expand Down
5 changes: 5 additions & 0 deletions src/hapi/pipelines/app/pipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ def _create_configurable_scrapers(
_create_configurable_scrapers(
"population", "admintwo", adminlevel=self.admintwo
)
_create_configurable_scrapers(
"operational_presence", "adminone", adminlevel=self.adminone
)
_create_configurable_scrapers(
"operational_presence", "admintwo", adminlevel=self.admintwo
)
Expand Down Expand Up @@ -223,6 +226,8 @@ def output(self):
session=self.session,
metadata=self.metadata,
admins=self.admins,
adminone=self.adminone,
admintwo=self.admintwo,
org=self.org,
org_type=self.org_type,
sector=self.sector,
Expand Down
117 changes: 109 additions & 8 deletions src/hapi/pipelines/configs/core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,34 +67,135 @@ org_type:
headers: 2

org_type_map:
academy: "431"
agence un: "447"
autre type: "443"
civile society: "501"
cooperation internationale: "501"
donantes: "433"
entite gouvernementale: "435"
gov: "435"
govt: "435"
ingo: "437"
mouv. cr: "445"
international institution: "438"
local ngo: "504"
mouv cr: "445"
mouvement de la croix rouge: "445"
movimiento de la cruz roja media luna roja: "445"
naciones unidas: "447"
nngo: "441"
observer: "502"
ong int: "437"
ong internacional: "437"
ong internationale: "437"
ong nat: "441"
ong nacional: "441"
ong nationale: "441"
organisation des nations unies: "447"
organismo internacional: "438"
otro: "443"
programme de developpement: "503"
red cross: "445"
red cross movement: "445"
red cross mvt: "445"
red cross and red crescent movement: "445"
religious group: "446"
service etatique: "435"
sociedad civil: "501"
un: "447"
un agency: "447"
un agencies: "447"

sector_map:
abna: "SHL"
abris: "SHL"
abris/bna/cccm: "shl"
abris / nfi: "SHL"
abris d'urgence et nfi: "SHL"
action contre les mines: "PRO-MIN"
aee: "SHL"
agriculture: "FSC"
agua saneamiento e higiene: "WSH"
alojamiento de emergencia: "SHL"
alojamiento de emergencia (shelter): "SHL"
alojamientos y asentamientos: "SHL"
ash: "WSH"
camp coordination camp management: "CCM"
camp coordination and camp management: "CCM"
cash: "Cash"
cccm: "CCM"
cluster coordination: "CCM"
coordination: "CCM"
coordinacion / informacion: "CCM"
coordination et gestion des camps: "CCM"
eau assainissement et hygiene: "WSH"
eau hygiene et assainissement: "WSH"
educacion: "EDU"
education: "EDU"
educacion en emergencias: "EDU"
eha: "WSH"
emergency shelter and non food items: "SHL"
erl: "ERY"
esnfi: "SHL"
food: "FSC"
food security and agriculture: "FSC"
food security and livelihoods: "FSC"
food security and nutrition: "FSC"
food security livelihood: "FSC"
gbv: "PRO-GBV"
logement terre et biens: "PRO-HLP"
logistica: "LOG"
logistique: "LOG"
manejo y gestion de campamentos: "CCM"
multi secteur: "Multi"
nutricion: "NUT"
nutrition: "NUT"
"operatioanl presence: water, sanitation & hygiene": "WSH"
"operational presence: education in emergencies": "EDU"
"operational presence: emergency shelter & non-food items": "SHL"
"operational presence: food security & agriculture": "FSC"
"operational presence: health": "HEA"
"operational presence: nutrition": "NUT"
"operational presence: protection": "PRO"
operatioanl presence water sanitation & hygiene: "WSH"
operational presence education in emergencies: "EDU"
operational presence emergency shelter & non food items: "SHL"
operational presence food security & agriculture: "FSC"
operational presence health: "HEA"
operational presence nutrition: "NUT"
operational presence protection: "PRO"
pronna: "PRO-CPN"
propg: "PRO"
protection: "PRO"
protection de l'enfance: "PRO-CPN"
proteccion infantil: "PRO-CPN"
proteccion: "PRO"
provbg: "PRO-GBV"
rapid response mechanism: "ERY"
rcf education: "EDU"
rcf food security and livelihoods: "FSC"
rcf health and nutrtion: "HEA"
rcf protection: "PRO"
recuperacion temprana: "ERY"
relevement rapide: "ERY"
relevement precoce: "ERY"
refugee response: "CCM"
refugees & migrants multi sector: "CCM"
reponse aux refugies: "CCM"
sa: "FSC"
sal: "HEA"
salud: "HEA"
samv: "FSC"
sante: "HEA"
securite alimentaire: "FSC"
seguridad alimentaria: "FSC"
seguridad alimentaria y nutricion: "FSC"
services humanitaires communs: "Hum"
sexual and reproductive health: "HEA"
shelter: "SHL"
shelter nfis: "SHL"
shelter/nfi: "SHL"
shelter and nfi: "SHL"
shelter and non food items: "SHL"
telecomunicaciones de emergencia: "TEL"
telecommunications d'urgence: "TEL"
violences basees sur le genre: "PRO-GBV"
violencia basada en genero: "PRO-GBV"
wash: "WSH"
water sanitation and hygiene: "WSH"

gender_descriptions:
f: "female"
Expand Down
Loading

0 comments on commit a043175

Please sign in to comment.