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
Investigate dissolve performance in /api/ipcpasemap - https://fewsnet.atlassian.net/browse/DATA-621
Replace Staple Food Price Data Set on Data center with direct download from FDW - https://fewsnet.atlassian.net/browse/DATA-906
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 - https://fewsnet.atlassian.net/browse/DATA-968
Support fields parameter for geojson extracts of DataPointViewSet - https://fewsnet.atlassian.net/browse/DATA-969 Standard Price Charts
in Superset - Support As-Is imports on the three usual import screens https://fewsnet.atlassian.net/browse/DATA-987971
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
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
...
Zimbabwe common currency prices not being calculated in data extracts - https://fewsnet.atlassian.net/browse/DATA-533
Fix price charts located under the “Old Charts” tab - https://fewsnet.atlassian.net/browse/DATA-560
Error uploading ET 2018 and 2009 LHZ shapefiles - https://fewsnet.atlassian.net/browse/DATA-784
Investigate potential templates (auto-complete field) loading issue with the new Autocomplete functionality - https://fewsnet.atlassian.net/browse/DATA-957
MarketProduct search doesn’t recognize partial Price Types - https://fewsnet.atlassian.net/browse/DATA-961
Error extracting Haiti and Madagascar availability data - https://fewsnet.atlassian.net/browse/DATA-1000
Collection date field is not automatically populated on the data collection page - https://fewsnet.atlassian.net/browse/DATA-1002
Features
...
Investigate dissolve performance in /api/ipcpasemap - https://fewsnet.atlassian.net/browse/DATA-
...
This feature is about removing trailing spaces in DataSourceDocment names.
Add collection_start_date and collection_end_date flters to DataPointFilter - https://fewsnet.atlassian.net/browse/DATA-968
...
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://fdw.fews.net/api/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 improved the performance of GeoJSON downloads for map visualizations by dissolving internal boundaries prior to extraction.
...
is about updating 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 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, as seen:
Support fields parameter for geojson extracts of DataPointViewSet - https://fewsnet.atlassian.net/browse/DATA-969
This feature enables the users to download the subset of fields for IPC data required for analysis
...
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 creates component tests for react components in FDE2
Tasks
Enable extraction of reusable visualizations JSON format - https://fewsnet.atlassian.net/browse/DATA-993
This task enables the successful extraction of reusable visualizations as a JSON object
...
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-
...
This task upgrades Django from version 3.1 to 3.2 which includes features such as:
Customizing type of auto-created primary keys
Functional indexes
New decorators for the admin site
Admin theming support
Creating reusable aliases for expressions that do not need to be selected but are used for filtering, ordering, or as part of complex expressions
...
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 task confirms that the IPC Node Checking notifications are working correctly.
...
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-
...
This task supports testing of the Sudan farmers API and applies relevant modifications to the FAO pipelines.
...
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 task reviews the differences between the base library for Mapbox and the mapping features of Plotly for the FDE2 map component.
Bugs
Semi structured domain api/Deomographyvalue endpoint CSV format raises KeyError - https://fewsnet.atlassian.net/browse/DATA-848
...
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-
...
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
X-Axis labels, chart styles and tab names required updates on the Old Charts tabThere 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-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
Users experienced loading issues and were unable to select the data source organization while in the data source document add form. This issue was resolved. https://fdwdevThere was a problem in selecting data values for some pages of the FDW, for instance:
...
...
...
...
...
...
...
- Users received an error message when attempting to extract availability data for Haiti and Madagascar in FDW. This issue was resolved
/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
Abbreviated price types were not recognized in Market Product searches. This issue was resolved.
...
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
In FDW, the Collection Date The
collection_date
field was not automatically populated on the Add Data Collection page. This issue was resolved. 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.