Introduction
Dated: 14 May, 2020
In this Release Notes document, the following main features, tasks and defects have been resolved and deployed to the FDE/FDW production server - Version 20.04.5 5.
Features
Add Market Product and Market Price ViewSet filters for Staple Foods https://fewsnet.atlassian.net/browse/DATA-123
Implementation of Geographic Unit View within FDE https://fewsnet.atlassian.net/browse/DATA-214
Use pagination in FDE Crop Production tab https://fewsnet.atlassian.net/browse/DATA-233
Standardize Country Filter on Data Series Admin screens https://fewsnet.atlassian.net/browse/DATA-239
Refactor GeographicUnitTreeViewSet to improve performance https://fewsnet.atlassian.net/browse/DATA-245
Implement Django Celery Results for API data ingestion https://fewsnet.atlassian.net/browse/DATA-247
Standarize Data Domain parameters in API URLs Story https://fewsnet.atlassian.net/browse/DATA-255
Enhanced Document List API for Mayan https://fewsnet.atlassian.net/browse/DATA-256
Add Description to Data Series Search fields https://fewsnet.atlassian.net/browse/DATA-263
Bulk import feature for adding border towns to FDW https://fewsnet.atlassian.net/browse/DATA-265
Consistent Y axis over time for Sub National Crop Production Dashboard https://fewsnet.atlassian.net/browse/DATA-269
Standardize Geographic Unit and Indicator foreign keys to Data Series https://fewsnet.atlassian.net/browse/DATA-271
Faster responses for paginated Crop Production API calls https://fewsnet.atlassian.net/browse/DATA-276
Additional Unit Tests for Spatial APIs https://fewsnet.atlassian.net/browse/DATA-283
...
Add Market Product and Market Price ViewSet filters for Staple Foods
This feature is about using the attribute
Is Staple Food
for filtering the results that came from /api/marketproduct and or /api/marketprice and or /api/marketpricefacts using the attribute for "Is Staple Food" so one can filter , for instance, by using the links , ,: https://fdw.fews.net/api/marketprice/?country=XX&?is_staple_food , or https://fdw.fews.net/api/marketpricefacts/?country=XX&is_staple_food or https://fdw.fews.net/api/marketproduct/?country=XX&is_staple_food .
Implementation of Geographic Unit View within FDE
This feature is about implementing the Map tab on the Spatial data domain (https://fdw.fews.net/data-explorer/#/spatial) in FDE. In addition to this, if the user , for instance, selects one or more Geographic Unit Set Versions and Unit Type, then the Features can be extracted as GeoJSON with querys queries like: https://fdwdevfdw.fews.net/api/feature/?format=geojson&unit_set_version=223XXX&unit_set_version=224 & XXX , https://fdwdev.fews.net/api/feature/?format=geojson&unit_set_version=223XXX&unit_set_version=224XXX&unit_type=admin1adminX
...
Use pagination in FDE Crop Production tab
This feature is about implementing the pagination response of the crop production indicator API which greatly enhances the extract performance of this the data domain (https://fdw.fews.net/data-explorer/#/crop)
...
This feature is about implementing the Country filter list for all the data series admin screens of all the data domains. i.e all the admin screens of the data series of the data domains show the country list in their Filter field box.
...
Refactor GeographicUnitTreeViewSet to improve performance
This feature is about caching the response of the Geography filter of the Crop production by moving the calculations of the Geographic unit tree that drives from the Geography filter from JavaScript into Python which as a result greatly improves the performance of the the Geographic filter response of the crop data domain (https://fdw.fews.net/data-explorer/#/crop).
...
This feature is about implementing the Celery Results for API data ingestion (https://fdw.fews.net/en/admin/django_celery_results/taskresult/) and i.e the celery results return which returns the log file output of the import process which gives clear view about the import details.
...
Standardize Data Domain parameters in API URLs Story
...
This enhancement is about implementing the pagination functionality for the Mayan document list APIs of the Mayan , for instance , (, like we have it here https://fdw.fews.net/documents/documentlist/?format=json) or (https://fdwdev.fews.net/documents/documentlist/?format=json&page_size=X) , and in addition to this , the documents can be extracted by using the
download_url
of the these APIs.
Add Description to Data Series Search fields
This feature allows users to search based on the contents put on in the
Description field
of the data series of all the data domains.
...
This feature is about implementing the bulk import functionality of the border points for the cross border trade data domain.
...
Consistent Y axis over time for Sub National Crop Production Dashboard
This feature is to make about making the Y-axis fixed based on the maximum value for the chosen indicator of a single Geographic Unit with a year combination of both the map and the admin unit bar chart of the sub national crop production dashboard constant, which allows the user to more easily visualize the crop production data.
...
Standardize Geographic Unit and Indicator foreign keys to Data Series
This feature is about standardizing the Geographic unit and Indicator fields of the data series of all the Survey and Non-survey data domains.
Faster responses for paginated Crop Production API calls
...
This feature is about improving the response time performance of the paginated crop production indicator APIs.
Tasks
Support on trouble shooting troubleshooting IPC file data uploads
This task was about giving support to Early Warning team members on uploading the IPC FIC data domain and this was done and the data was successfully loaded.
Validate email addresses to ensure there is 1 address per 1 user
This task is about setting was about ensuring there is only one email address for a single user by implementing validation for the email address that will be used upon the creation of the new user from the Admin page.so that users are not getting duplicative emails from the system. (https://fdw.fews.net/en/admin/auth/user/add/).
...
Review of FDW Data Point API extract formats for Markets and Trade
This task was about reviewing the FDW Data Point API extract formats for of the Markets and Trade data domains and as a result a spreadsheet which contains the recommended changes has been developed.
...
This task was about incorporating formatting standards for the Price Charts and it’s doneDashboard (https://fdw.fews.net/dashboard/price/).
Bugs/Defects
Geography filter is not caching correctly
The The geography filter of the Crop data domain was slow in loading the data values due to the caching issue and this was resolved and currently the filter data loads faster.
...
Clicking on the Help with the current page tab of each pages of the FDW results in 404 error
It was the A 404 error page which was shown when one clicked on the the
Help with the current page
tab of each pages of the FDW and this was resolved & all the pages are working correctly.
Investigate Data Domains filter behavior in Data Inventory dashboard
There was problem an issue in Data Inventory dashboard filters Dashboard filters i.e selecting data from the second filter (
Data usage policy)
erases erased the filter data of the Data domains. This was resolved and the functionality is working well.
...
Unable to upload Cameroon shape file
It There was the a 500 Internal server error which was shown upon trying to upload the shapfile shape file of the country camerroon Cameroon and this was resolved and the shapefile succesffully shape file successfully loaded into the system .
Saving data set is not working at the subgroup level of the IPC FIC Data domain
There was an error upon saving dataset data set for the IPC FIC data domain at the subgroup level and this was resolved and the functionality is working as expected.