Skip to content

Commit

Permalink
Fix HAPI dataset metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarans committed Feb 21, 2025
1 parent e336fd4 commit ba48185
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ attrs==25.1.0
# jsonlines
# jsonschema
# referencing
cachetools==5.5.1
cachetools==5.5.2
# via google-auth
certifi==2025.1.31
# via requests
Expand Down Expand Up @@ -204,7 +204,7 @@ rfc3986==2.0.0
# via frictionless
rich==13.9.4
# via typer
rpds-py==0.22.3
rpds-py==0.23.0
# via
# jsonschema
# referencing
Expand Down
3 changes: 2 additions & 1 deletion src/hdx/scraper/hno/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,8 @@ def main(
dataset.update_from_yaml(
script_dir_plus_file(
join(
"config", "hdx_dataset_static.yaml"
"config",
"hdx_hapi_dataset_static.yaml",
),
main,
)
Expand Down
17 changes: 17 additions & 0 deletions src/hdx/scraper/hno/config/hdx_hapi_dataset_static.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
notes: |
This dataset contains data obtained from the
[HDX Humanitarian API](https://hapi.humdata.org/) (HDX HAPI),
which provides standardized humanitarian indicators designed
for seamless interoperability from multiple sources.
The data facilitates automated workflows and visualizations
to support humanitarian decision making.
For more information, please see the HDX HAPI
[landing page](https://data.humdata.org/hapi)
and
[documentation](https://hdx-hapi.readthedocs.io/en/latest/).
methodology: Registry
caveats: >
HDX HAPI is refreshed daily, but the source datasets may have different
update schedules. Please refer to the source datasets for each subcategory
to verify their specific update frequency.
private: False # has to be True or False

0 comments on commit ba48185

Please sign in to comment.