-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #294 from OCHA-DAP/dev
dev to prod for 0.9.4
- Loading branch information
Showing
70 changed files
with
656 additions
and
568 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
mkdocs~=1.6.1 | ||
mkdocs-include-markdown-plugin~=7.1.2 | ||
mkdocs-material~=9.5.50 | ||
mkdocs-material~=9.6.2 | ||
mkdocs-table-reader-plugin~=3.1.0 | ||
|
||
pytest~=8.3.4 | ||
pytest-cov~=6.0.0 | ||
pytest-asyncio~=0.25.3 | ||
httpx~=0.28.1 | ||
|
||
ruff~=0.9.3 | ||
ruff~=0.9.4 | ||
|
||
toml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
docs/data_usage_guides/endpoint_parameters/humanitarian_needs_parameters.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Geography & Infrastructure | ||
|
||
--- | ||
|
||
## Baseline Population <a id="population"></a> | ||
|
||
The population statistics presented here are sourced from the | ||
[common operational datasets](https://cod.unocha.org/) (CODs), and are | ||
typically disaggregated by age and/or gender, and extend to administrative | ||
levels 1 or 2. Primary data providers include the UNFPA and OCHA country | ||
offices. These data are projections based on demographic indicators, and | ||
therefore caution should be used when comparing to population data from other | ||
sources. | ||
|
||
### Summary | ||
|
||
{{ read_yaml('data_usage_guides/subcategory_details/population_details.yaml') }} | ||
|
||
### Parameters Returned | ||
|
||
The table below describes the parameters returned from this endpoint. | ||
For available query parameters, please see the | ||
[API sandbox](https://hapi.humdata.org/docs#/Geography%20%26%20Infrastructure/get_population_api_v1_population_social_population_get). | ||
|
||
{{ read_yaml('data_usage_guides/endpoint_parameters/population_parameters.yaml') }} | ||
|
||
### Transformations applied | ||
|
||
* The table has been reshaped from wide to long: demographic-specific columns | ||
have been cast to `gender`, `age_range`, and `population` | ||
* The reference period is obtained from the HDX dataset | ||
|
||
### Usage Notes | ||
|
||
* Age disaggregation ranges are not consistent across countries | ||
* Any aggregation to a higher administrative level (e.g., admin 1 for a | ||
country where admin 2 is also available) has been taken directly from the | ||
data provided, and was not computed in the API pipeline | ||
* An “all” value in the `gender` and `age_range` columns indicates no | ||
disaggregation | ||
* `age_range` is expressed as "[`min_age`]-[`max_age`]", where `max_age` is | ||
inclusive, or "[`min_age`]+" for an age range starting at `min_age` or above | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.