forked from OCHA-DAP/hapi-pipelines
-
Notifications
You must be signed in to change notification settings - Fork 0
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 #31 from OCHA-DAP/main
HDXDSYS-843 Add IDP data
- Loading branch information
Showing
21 changed files
with
677,370 additions
and
42,361 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
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
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,66 @@ | ||
#National risk config file | ||
|
||
idps_default: | ||
scrapers_with_defaults: | ||
- "dtm" | ||
format: "csv" | ||
use_hxl: True | ||
admin_exact: True | ||
input: | ||
- "#affected+idps" | ||
- "#date+reported" | ||
- "#round+code" | ||
- "#assessment+type" | ||
- "#operation+name" | ||
list: | ||
- "#affected+idps" | ||
- "#date+reported" | ||
- "#round+code" | ||
- "#assessment+type" | ||
- "#operation+name" | ||
output: | ||
- "number_idps" | ||
- "reporting_date" | ||
- "round_number" | ||
- "asessment_type" | ||
- "operation" | ||
output_hxl: | ||
- "#affected+idps" | ||
- "#date+reported" | ||
- "#round+code" | ||
- "#assessment+type" | ||
- "#operation+name" | ||
|
||
idps_national: | ||
dtm: | ||
dataset: "global-iom-dtm-from-api" | ||
resource: "Global IOM DTM data for admin levels 0-2" | ||
filter_cols: | ||
- "#adm1+code" | ||
prefilter: "#adm1+code is None" | ||
admin: | ||
- "#country+code" | ||
|
||
idps_adminone: | ||
dtm: | ||
dataset: "global-iom-dtm-from-api" | ||
resource: "Global IOM DTM data for admin levels 0-2" | ||
filter_cols: | ||
- "#adm1+code" | ||
- "#adm2+code" | ||
prefilter: "#adm1+code is not None and #adm2+code is None" | ||
admin: | ||
- "#country+code" | ||
- "#adm1+code" | ||
|
||
idps_admintwo: | ||
dtm: | ||
dataset: "global-iom-dtm-from-api" | ||
resource: "Global IOM DTM data for admin levels 0-2" | ||
filter_cols: | ||
- "#adm1+code" | ||
- "#adm2+code" | ||
prefilter: "#adm1+code is not None and #adm2+code is not None" | ||
admin: | ||
- "#country+code" | ||
- "#adm2+code" |
4 changes: 2 additions & 2 deletions
4
src/hapi/pipelines/configs/refugees.yaml → ...lines/configs/refugees_and_returnees.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
Oops, something went wrong.