Skip to content

Commit

Permalink
Add Afghanistan to humanitarian needs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike committed Jan 3, 2024
1 parent 73158ed commit 559a1cf
Show file tree
Hide file tree
Showing 8 changed files with 527 additions and 14 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ dependencies = [
"hapi-schema>= 0.5.0",
"hdx-python-country>= 3.6.3",
"hdx-python-database[postgresql]>= 1.2.9",
"hdx-python-scraper>= 2.3.0",
"hdx-python-scraper>= 2.3.2",
"libhxl",
"sqlalchemy"
]
Expand Down
22 changes: 11 additions & 11 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#
annotated-types==0.6.0
# via pydantic
attrs==23.1.0
attrs==23.2.0
# via
# frictionless
# jsonlines
Expand All @@ -29,7 +29,7 @@ click==8.1.7
# via typer
colorama==0.4.6
# via typer
coverage[toml]==7.3.4
coverage[toml]==7.4.0
# via pytest-cov
cryptography==41.0.7
# via pyopenssl
Expand All @@ -53,15 +53,15 @@ filelock==3.13.1
# via virtualenv
frictionless==5.16.0
# via hdx-python-utilities
google-auth==2.25.2
google-auth==2.26.0
# via
# google-auth-oauthlib
# gspread
google-auth-oauthlib==1.2.0
# via gspread
greenlet==3.0.3
# via sqlalchemy
gspread==5.12.3
gspread==5.12.4
# via hdx-python-scraper
hapi-schema==0.5.0
# via hapi-pipelines (pyproject.toml)
Expand All @@ -74,7 +74,7 @@ hdx-python-country==3.6.3
# hdx-python-scraper
hdx-python-database[postgresql]==1.2.9
# via hapi-pipelines (pyproject.toml)
hdx-python-scraper==2.3.0
hdx-python-scraper==2.3.2
# via hapi-pipelines (pyproject.toml)
hdx-python-utilities==3.6.3
# via
Expand Down Expand Up @@ -163,11 +163,11 @@ pyasn1-modules==0.3.0
# via google-auth
pycparser==2.21
# via cffi
pydantic==2.5.2
pydantic==2.5.3
# via
# frictionless
# inflect
pydantic-core==2.14.5
pydantic-core==2.14.6
# via pydantic
pygments==2.17.2
# via rich
Expand All @@ -179,7 +179,7 @@ pyphonetics==0.5.3
# via hdx-python-country
pyrsistent==0.20.0
# via jsonschema
pytest==7.4.3
pytest==7.4.4
# via
# hapi-pipelines (pyproject.toml)
# pytest-cov
Expand All @@ -205,7 +205,7 @@ quantulum3==0.9.0
# via hdx-python-api
ratelimit==2.2.1
# via hdx-python-utilities
regex==2023.10.3
regex==2023.12.25
# via hdx-python-scraper
requests==2.31.0
# via
Expand Down Expand Up @@ -243,14 +243,14 @@ six==1.16.0
# sphinxcontrib-napoleon
sphinxcontrib-napoleon==0.7
# via defopt
sqlalchemy==2.0.23
sqlalchemy==2.0.25
# via
# hapi-pipelines (pyproject.toml)
# hapi-schema
# hdx-python-database
stringcase==1.2.0
# via frictionless
structlog==23.2.0
structlog==23.3.0
# via libhxl
tableschema-to-template==0.0.13
# via hdx-python-utilities
Expand Down
3 changes: 3 additions & 0 deletions src/hapi/pipelines/app/pipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,9 @@ def _create_configurable_scrapers(
_create_configurable_scrapers(
"food_security", "admintwo", adminlevel=self.admintwo
)
_create_configurable_scrapers(
"humanitarian_needs", "adminone", adminlevel=self.adminone
)
_create_configurable_scrapers(
"humanitarian_needs", "admintwo", adminlevel=self.admintwo
)
Expand Down
Loading

0 comments on commit 559a1cf

Please sign in to comment.