Skip to content

Commit

Permalink
Merge pull request #225 from OCHA-DAP/HDXDSYS-1314-hapi-conflict
Browse files Browse the repository at this point in the history
HDXDSYS-1314 HAPI conflict dataset
  • Loading branch information
b-j-mills authored Feb 20, 2025
2 parents e94051e + fd557f0 commit fdda193
Show file tree
Hide file tree
Showing 19 changed files with 28,773 additions and 1,672 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.41] = 2025-02-20

### Changed

- Conflict event, IDPs, and Population read from HAPI dataset

## [0.10.40] = 2025-02-20

### Changed
Expand Down
1 change: 0 additions & 1 deletion src/hapi/pipelines/app/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@ def main(
if ehx is None:
ehx = getenv("ERR_TO_HDX")
project_configs = [
"conflict_event.yaml",
"core.yaml",
"food_security.yaml",
"idps.yaml",
Expand Down
8 changes: 0 additions & 8 deletions src/hapi/pipelines/app/pipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,6 @@ def _create_configurable_scrapers(
_create_configurable_scrapers(
"idps", "admintwo", adminlevel=self._admintwo
)
_create_configurable_scrapers("conflict_event", "national")
_create_configurable_scrapers(
"conflict_event", "admintwo", adminlevel=self._admintwo
)

def run(self):
self._runner.run()
Expand Down Expand Up @@ -313,14 +309,10 @@ def output_poverty_rate(self):

def output_conflict_event(self):
if not self._themes_to_run or "conflict_event" in self._themes_to_run:
results = self._runner.get_hapi_results(
self._configurable_scrapers["conflict_event"]
)
conflict_event = ConflictEvent(
session=self._session,
metadata=self._metadata,
admins=self._admins,
results=results,
configuration=self._configuration,
error_handler=self._error_handler,
)
Expand Down
Loading

0 comments on commit fdda193

Please sign in to comment.