Skip to content

Commit

Permalink
HDXDSYS-1150 p-code Lebanon operational presence data and add to YAML (
Browse files Browse the repository at this point in the history
…#185)

* Add Lebanon operational presence
  • Loading branch information
mcarans authored Oct 15, 2024
1 parent a37ffa1 commit 33ea08c
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 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.10.9] - 2024-10-11

### Added

- Lebanon operational presence

## [0.10.8] - 2024-10-10

### Fixed
Expand Down
2 changes: 2 additions & 0 deletions src/hapi/pipelines/configs/core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ sector_map:
ame: "SHL"
ash: "WSH"
assainissement: "WSH"
basic assistance: "Hum"
camp coordination and camp management: "CCM"
camp coordination camp management: "CCM"
cash: "Cash"
Expand Down Expand Up @@ -456,6 +457,7 @@ sector_map:
services humanitaires communs: "Hum"
sexual and reproductive health: "HEA"
shelter: "SHL"
shelter & site coordination: "SHL"
shelter nfi: "SHL"
shelter nfis: "SHL"
shelter and nfi: "SHL"
Expand Down
33 changes: 33 additions & 0 deletions src/hapi/pipelines/configs/operational_presence.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ operational_presence_default:
- "operational_presence_gtm"
- "operational_presence_hnd"
- "operational_presence_hti"
- "operational_presence_lbn"
- "operational_presence_mli"
- "operational_presence_ner"
- "operational_presence_nga"
Expand Down Expand Up @@ -265,6 +266,38 @@ operational_presence_admintwo:
- "adm1Name"
- "adm2_Name"

operational_presence_lbn:
dataset: "lebanon-operational-presence"
resource: "lbn_sectorsreporting_bydistrict_20240902_hxlated.csv"
format: "csv"
headers: 1
source_date:
start: "01/07/2024"
end: "02/09/2024"
use_hxl: True
filter_cols:
- "#date+year"
- "#date+quarter"
prefilter: "#date+year=='2024' and #date+quarter=='Q3'"
admin:
- ~
- "#adm2+code"
admin_exact: True
input:
- "#org+name"
- "#org+acronym"
- "#org+type"
- "#sector+cluster+name"
- "#adm1+name"
- "#adm2+name"
list:
- "#org+name"
- "#org+acronym"
- "#org+type"
- "#sector+cluster+name"
- "#adm1+name"
- "#adm2+name"

operational_presence_mli:
dataset: "mali-operational-presence"
resource: "MALI_3W_June_2024"
Expand Down

0 comments on commit 33ea08c

Please sign in to comment.