From bc0957e53a959a870b8cb29ed862476747f9f857 Mon Sep 17 00:00:00 2001 From: Briar Date: Mon, 9 Dec 2024 16:27:39 -0500 Subject: [PATCH] Update COD 3W and requirements --- CHANGELOG.md | 7 ++ pyproject.toml | 2 +- requirements.txt | 2 +- .../configs/operational_presence.yaml | 75 +++++++++---------- 4 files changed, 43 insertions(+), 43 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index baacb8dd..7258c1ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ 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.10.27] - 2024-12-09 + +### Changed + +- Updated 3W data for COD +- Updated to latest hapi-schema version + ## [0.10.26] - 2024-12-06 ### Changed diff --git a/pyproject.toml b/pyproject.toml index f950780a..3df54002 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,7 @@ classifiers = [ requires-python = ">=3.8" dependencies = [ - "hapi-schema>= 0.9.5", + "hapi-schema>= 0.9.6", "hdx-python-api>= 6.3.5", "hdx-python-country>= 3.8.5", "hdx-python-database[postgresql]>= 1.3.4", diff --git a/requirements.txt b/requirements.txt index 4f5d439b..3db8a985 100644 --- a/requirements.txt +++ b/requirements.txt @@ -54,7 +54,7 @@ greenlet==3.1.1 # via sqlalchemy gspread==6.1.4 # via hdx-python-scraper -hapi-schema==0.9.5 +hapi-schema==0.9.6 # via hapi-pipelines (pyproject.toml) hdx-python-api==6.3.5 # via diff --git a/src/hapi/pipelines/configs/operational_presence.yaml b/src/hapi/pipelines/configs/operational_presence.yaml index 92dc31f6..6937f55a 100644 --- a/src/hapi/pipelines/configs/operational_presence.yaml +++ b/src/hapi/pipelines/configs/operational_presence.yaml @@ -122,47 +122,6 @@ operational_presence_admintwo: - "#adm1 +name" - "#adm2 +name" - operational_presence_cod: - dataset: "drc_presence_operationnelle" - resource: "rdc-3w_juillet-2024.xlsx" - format: "xlsx" - xlsx2csv: True - sheet: "Data" - headers: 1 - source_date: - start: "01/06/2024" - end: "30/06/2024" - admin: - - ~ - - "Code Territoire" - admin_exact: True - input: - - "NOM ORGANISATION - (cette colonne est renseignée automatiquement selon la selection dans le colonne A)" - - "ACCRONYME - (Choisir dans la liste déroulante)" - - "TYPE ORGANISATION - (cette colonne est renseignée automatiquement selon la selection dans le colonne B)" - - "CLUSTER - (Choisir dans la liste déroulante) - Pour les projets humanitaires uniquement" - - "PROVINCE" - - "TERRITOIRE - (Choisir dans la liste déroulante)" - list: - - "NOM ORGANISATION - (cette colonne est renseignée automatiquement selon la selection dans le colonne A)" - - "ACCRONYME - (Choisir dans la liste déroulante)" - - "TYPE ORGANISATION - (cette colonne est renseignée automatiquement selon la selection dans le colonne B)" - - "CLUSTER - (Choisir dans la liste déroulante) - Pour les projets humanitaires uniquement" - - "PROVINCE" - - "TERRITOIRE - (Choisir dans la liste déroulante)" - operational_presence_col: dataset: "colombia-4ws" resource: "COL_345W_Jan-oct2024.xlsx" @@ -611,6 +570,40 @@ operational_presence_national: - "#adm1+name" - "#adm2+name" + operational_presence_cod: + dataset: "drc_presence_operationnelle" + resource: "rdc_3w_septembre-2024.xlsx" + format: "xlsx" + xlsx2csv: True + sheet: "Data" + headers: 1 + source_date: + start: "01/09/2024" + end: "30/09/2024" + admin_single: "COD" + input: + - "Nom Organization" + - "Acronyme" + - "Type Organisation" + - "CLUSTER + (Choisir dans la liste déroulante) + Pour les projets humanitaires uniquement" + - "PROVINCE + (Choisir dans la liste déroulante)" + - "TERRITOIRE + (Choisir dans la liste déroulante)" + list: + - "Nom Organization" + - "Acronyme" + - "Type Organisation" + - "CLUSTER + (Choisir dans la liste déroulante) + Pour les projets humanitaires uniquement" + - "PROVINCE + (Choisir dans la liste déroulante)" + - "TERRITOIRE + (Choisir dans la liste déroulante)" + operational_presence_eth: dataset: "ethiopia-operational-presence" resource: "Ethiopia Who is Doing What Where (4W) - October 2024.xlsx"