Dated: 12 July 2021
Introduction
The following list of new features, tasks, and resolved bugs are included in the latest Sprint 21.06.1 release to FDW/FDE:
Features
Review the pre-processing and matching of DataSourceDocuments in uploads - https://fewsnet.atlassian.net/browse/DATA-935
Add collection_start_date and collection_end_date filters to DataPointFilter Investigate dissolve performance in /api/ipcpasemap - https://fewsnet.atlassian.net/browse/DATA-968621
Replace Staple Food Price Data Set on Data center with direct download from FDW - https://fewsnet.atlassian.net/browse/DATA-906
Investigate dissolve performance in /api/ipcpasemap Review the pre-processing and matching of DataSourceDocuments in uploads - https://fewsnet.atlassian.net/browse/DATA-621Standard Price Charts in Superset 935
Add collection_start_date and collection_end_date filters to DataPointFilter - https://fewsnet.atlassian.net/browse/DATA-987968
Support fields parameter for geojson extracts of DataPointViewSet - https://fewsnet.atlassian.net/browse/DATA-969 Add Component Tests for FDE2 -
Support As-Is imports on the three usual import screens https://fewsnet.atlassian.net/browse/DATA-960Managing ZW exchange rate data in the FDW - 971
As a Food Security Analyst, I want to be able to view the admin 1 & 2 names when I extract market price data https://fewsnet.atlassian.net/browse/DATA-617
Tasks
Enable extraction of reusable visualizations JSON format - 974
As a Food Security Analyst, I want to be able to view the CPI subnational data associated with an admin 1 in my extract https://fewsnet.atlassian.net/browse/DATA-993Upgrade Django to 3.2 - 975
Tasks
Trade Flow resource generates lots of duplicate queries https://fewsnet.atlassian.net/browse/DATA-942Confirm IPC Node checking notification works in PROD 950
Enable extraction of reusable visualizations JSON format - https://fewsnet.atlassian.net/browse/DATA-988Support to Sudan Farmers API Testing 993
Bugs
Zimbabwe common currency prices not being calculated in data extracts - https://fewsnet.atlassian.net/browse/DATA-897Investigation: Plotly cs mapbox vs Echart for the FDE2 map component 533
Semi structured domain api/Deomographyvalue endpoint CSV format raises KeyError - https://fewsnet.atlassian.net/browse/DATA-848
Fix price charts located under the “Old Charts” tab - https://fewsnet.atlassian.net/browse/DATA-984
Bugs
Error uploading ET 2018 abd and 2009 LHZ shapefiles - https://fewsnet.atlassian.net/browse/DATA-784Fix price charts located under the “Old Charts” tab - https://fewsnet.atlassian.net/browse/DATA-560
Investigate potential templates (auto-complete field) loading issue with the new Autocomplete functionality - https://fewsnet.atlassian.net/browse/DATA-957
Create_sample_data doesn’t work on production containers MarketProduct search doesn’t recognize partial Price Types - https://fewsnet.atlassian.net/browse/DATA-992961
Error extracting Haiti and Madagascar availability data - https://fewsnet.atlassian.net/browse/DATA-1000 MarketProduct search doesn’t recognize partial
Price Types Collection date field is not automatically populated on the data collection page - https://fewsnet.atlassian.net/browse/DATA-961Zimbabwe common currency prices not being calculated in data extracts 1002
Features
Investigate dissolve performance in /api/ipcpasemap - https://fewsnet.atlassian.net/browse/DATA-
...
Investigate potential templates (auto-complete field) loading issue with the new Autocomplete functionality - https://fewsnet.atlassian.net/browse/DATA-957
...
621
This feature improved the performance of
GeoJSON
downloads for map visualizations by dissolving internal boundaries prior to extraction so that the download doesn't need to contain any of the internal boundaries under each phase; for instance:
Replace Staple Food Price Data Set on Data center with direct download from FDW - https://fewsnet.atlassian.net/browse/DATA-
...
906
This implementation allows the direct download of the price data file from the data center on the FEWS NET website (https://fewsnetfdw.atlassianfews.net/api/browse/DATA-992
...
marketprice.xlsx/?dataset=FEWS_NET_Price_Data)
and the downloaded file contains the selected fields fit for the website extracts.
Review the pre-
...
processing and matching of DataSourceDocuments in uploads - https://fewsnet.atlassian.net/browse/DATA-935
This feature is about removing trailing spaces in DataSourceDocment namesupdating the
data_source_document
field with a trailing space to be recognized in an uploading process.
Add collection_start_date and collection_end_date flters to DataPointFilter - https://fewsnet.atlassian.net/browse/DATA-968
This feature enhancement is about incorporating the
collection_start_date
andcollection_end_date
filters to theDataPointFilter
,DataCollectionPeriodFilter
andDataCollectionFilter
which enables users to easily update local data visualizations each month via the API to update visualizations without additional effort by using the ‘collection_start_date’ and ‘collection_end_date’ filters in the Data Point Filter.
...
, as seen:
Support fields parameter for geojson extracts of DataPointViewSet - https://fewsnet.atlassian.net/browse/DATA-969
This enhancement is about incorporating the
fields
parameter forGeoJSON
extracts of the DataPointViewSet API endpoint, for example: https://fdw.fews.net/api/ipcphase/?format=geojson&collection_date=2020-10-01&country_code=KE&fields=id,scenario,start_date,end_date,collection_date,value.
Support As-Is imports on the three usual import screens https://fewsnet.atlassian.net/browse/DATA-971
This feature is about implementing the
As-Is
imports in the three data import screens of the FDW. Users can now upload as-is data (i.e. data that has not been cleaned to match the metadata standards) into the FDW in the same way that data is currently uploaded, for example:
1. Offline Data Uploads screen (https://fdw.fews.net/en/admin/warehouse/dataupload/add/)
...
2. Add Data Collection screen (https://fdw.fews.net/en/admin/warehouse/datacollection/add/)
...
3. Semi-Structured Data Point Admin Screen (https://fdw.fews.net/en/admin/semistructured/asisdatapoint/import/)
...
As a Food Security Analyst, I want to be able to view the admin 1 & 2 names when I extract market price data https://fewsnet.atlassian.net/browse/DATA-974
This feature is about allowing the inclusions of
Admin1
andAdmin2
names in the market price data extracts.
As a Food Security Analyst, I want to be able to view the CPI subnational data associated with an admin 1 in my extract https://fewsnet.atlassian.net/browse/DATA-
...
975
This enhancement is about showing the CPI subnational data which are linked with
Admin1
units, (for instance, https://fdw.fews.net/api/datapointfacts/?format=html&dataseries=26133&fields=simple).
Tasks
Trade Flow resource generates lots of duplicate queries https://fewsnet.atlassian.net/browse/DATA-950
Since the trade flow resource generates multiple queries which will make the data upload process slow, this task was about generating fewer queries which makes the data upload process faster .
Enable extraction of reusable visualizations in JSON format - https://fewsnet.atlassian.net/browse/DATA-
...
993
This feature improved the performance of GeoJSON downloads for map visualizations by dissolving internal boundaries prior to extraction.
...
task was about allowing the extraction of a reusable visualization in a
JSON
format, for instance:
Bugs
Zimbabwe common currency prices not being calculated in data extracts - https://fewsnet.atlassian.net/browse/DATA-
...
This feature developed standard price charts in superset and applied customization where possible.
...
533
The Zimbabwe common currency prices were not being calculated in data extracts and this was resolved.
Fix price charts located under the “Old Charts” tab - https://fewsnet.atlassian.net/browse/DATA-560
There was an issue in the augmented price chart where the x-axis label and tab names were incorrect, and this has been updated and resolved.
...
Error uploading ET 2018 and 2009 LHZ shapefiles - https://fewsnet.atlassian.net/browse/DATA-
...
This feature enables the users to download the subset of fields for IPC data required for analysis
...
784
Users received an internal server error when attempting to upload ET 2018 and 2009 LHZ shapefiles. This issue was resolved.
Investigate potential templates (auto-complete field) loading issue with the new Autocomplete functionality - https://fewsnet.atlassian.net/browse/DATA-957
There was a problem in selecting data values for some pages of the FDW, for instance:
https://fdw.fews.net/en/admin/warehouse/datasourcedocument/add/
This was due to the implementation of the new autocomplete functionality and this was resolved and all the pages are working as expected.
MarketProduct search doesn’t recognize partial Price Types - https://fewsnet.atlassian.net/browse/DATA-961
There was a problem in the
/api/marketproduct/
end point in making search with a partial terms of theprice_type
, for instance withwhol
orret
. This was resolved and can be searched using these partial terms, such as https://fdw.fews.net/api/marketproduct/?format=json&search=eth mai ret or
https://fdw.fews.net/api/marketproduct/?format=json&search=nair mai whol.
Error extracting Haiti and Madagascar availability data - https://fewsnet.atlassian.net/browse/DATA-1000
There was a problem in extracting the availability data of the countries Haiti and Madagascar and this was resolved.
Collection date field is not automatically populated on the data collection page - https://fewsnet.atlassian.net/browse/DATA-
...
1002
The
collection_date
field was not populated automatically, which it should have been, while uploading data on the data collection entry page (https://fdw.fews.net/en/admin/warehouse/datacollection/add/). This was resolved and the functionality is now working as expected.