Skip to content

Commit

Permalink
Merge pull request #114 from OCHA-DAP/HDXDSYS-811-hno-pop-to-all
Browse files Browse the repository at this point in the history
HDXDSYS-811 replace pop with all
  • Loading branch information
turnerm authored Jun 11, 2024
2 parents d01f47d + 49db9ba commit 9fdb78f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 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.9.17] - 2024-06-10

### Changed

- Replace "POP" with "all" for humanitarian needs population status

## [0.9.16] - 2024-06-10

### Changed
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ greenlet==3.0.3
# via sqlalchemy
gspread==6.1.2
# via hdx-python-scraper
hapi-schema==0.8.11
hapi-schema==0.8.12
# via hapi-pipelines (pyproject.toml)
hdx-python-api==6.3.1
# via
Expand Down Expand Up @@ -124,7 +124,7 @@ markupsafe==2.1.5
# via jinja2
mdurl==0.1.2
# via markdown-it-py
more-itertools==10.2.0
more-itertools==10.3.0
# via inflect
ndg-httpsclient==0.5.1
# via hdx-python-api
Expand Down
2 changes: 1 addition & 1 deletion src/hapi/pipelines/database/humanitarian_needs.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def create_row(in_col, population_status):
)
self._session.add(humanitarian_needs_row)

create_row("Population", "POP")
create_row("Population", "all")
create_row("Affected", "AFF")
create_row("In Need", "INN")
create_row("Targeted", "TGT")
Expand Down

0 comments on commit 9fdb78f

Please sign in to comment.