Document toolboxDocument toolbox

Release Notes for Data Sprint 20.05

Introduction

Dated: 10 June 2020

The following list of new features, tasks and resolved bugs are included in the latest Sprint 20.05 release:

Features

Tasks

Bugs

Features

Revisit Crosstab extracts for Crop Production - DATA-234

  • This feature is about implementing a single cross-tabbed output row for the multiple indicators (i.e Area Planted, Quantity Produced, Yield) of the crop data domain.

Prototype of automated creation of IPC Classification maps - DATA-260

  • This feature is about documenting the approach to create a prototype for showing the IPC Classification maps using the dashboard.

Create an IPCPhaseMapViewSet - DATA-261

  • This feature is about building a custom viewset and serializer to provide access to the correctly formatted map data for producing IPC Classification maps. This was done by creating an /api/ipcphasemap endpoint that returns multi-polygons for the dissolved features that share the same phase to provide access to the formatted map data of the IPC Classification data domain.

Return JSON error message for API calls - DATA-279

  • This feature is about handling the error page returned for a JSON request and returning a more useful and descriptive error message when applicable.

Make Layer.geometry_type a ChoiceField - DATA-280

  • This feature is about making the Geometry type field a ChoiceField so that user of the system can more easily select the specific geometry type.

Make is_staple_food visible through the browseable API and /en/schema-ui interfaces - DATA-292

Enhanced Geographic Unit Map View in FDE - DATA-293

  • This enhancement is about including the Estimated Population, Area and Estimated Population Density fields in the tabular view of the spatial data domain and as well as adding the Export tab that shows a download button with the refreshable links for extracting the selected units either using format=geojson or format=shapefile .

Prototype: Interactive Map Visualization for COVID-19 website page - DATA-303

  • This feature is a prototype for visualizing the covid-19 statistics through the interactive maps by implementing the Peak needs and Covid 19 cases/deaths API end points.

Add a country_code filter to CountryFilter - DATA-310

Unaccented search in FDE Geography Filter - DATA-321

  • This feature is about enhancing the search capability of the FDE i.e allowing the FDE to make search using both the accented and unaccented versions of characters.

Update all DataSeries subclass Admins to show facts - DATA-327

  • This feature is about showing the facts i.e (Firstperiod date, Last period date and Data point count ) on all DataSeries subclass Admins of all the data domains.

Add caching to /api/ipcphasemap - DATA-331

  • This feature is about implementing caching for the /api/ipcphasemap endpoint which makes the response time of the queries faster.

Tasks

Investigate the completeness of the Geographic Unit Relationships at the Country level - DATA-268

  • This task was about investigating and showing the current Geographic Unit Relationships at the country level which helps to assess the completeness of the Geographic Unit Relationships of the different countries.

Remove Search for Crop Production Indicator and Crop Production Indicator Value - DATA-286

Peak needs API end point - DATA-335

Covid-19 cases/deaths API end point - DATA-336

Remove the Search box from the Crop production tab of the FDE - DATA-356

  • Since the crop production data can be searched using an individual filters, this task was about removing the Search bar from the FDE of the crop data domain.

Bugs

Fix "[invalid name]" filter labels - DATA-285

  • A number of browseable API end points had an incorrect label and this was resolved.

Dataset 981 pulling wrong/unknown CPI data - DATA-289

  • The CPI data of the country Haiti had shown incorrect values and this was resolved and the dataset is now pulling the correct value.

FDE Spatial map view doesn't work for Kenya FSC Units 2016 - DATA-290

  • There was an issue in not being able to view the Kenya FSC Units 2016 Spatial map and this was resolved.

Spatial view has unusual behaviour around selected Versions - DATA-291

  • There was an issue in deselecting the data series records from the list of the Available Geo unit set versions page and this was resolved and the functionality is working as expected.

All the season records of the Crop Production data domain do not show the specific data domain i.e (Crop Production) - DATA-297

  • The season records of the crop production data domain was missing the column with information of the specific data domain name and this was resolved and all the season records shows the specific data domain type.

Unable to access Geographical Unit Set Versions that contain Markets via the API - DATA-300

  • It was the no result error message that was displayed upon trying to access the API of the Geographic Unit Set Versions that contains markets, as seen here: https://fdw.fews.net/api/geographicunitsetversion/365. This was resolved and the Geographical Unit Set versions that contain Markets can now be accessible through the API.

500 error on /api/geographicunit/ with both unit_type and used_for parameters - DATA-322

Placeholder text on Trade domain search bar says "report country" instead of "reporting country" - DATA-323

  • The placeholder text for the Trade data domain search bar was displayed as report country and now it’s renamed to the correct saying reporting country.

Accessing the https://fdw.fews.net/dashboard/inventory/ with out a superuser right results in 403 Forbidden page - DATA-328

  • The system was showing the ‘403 Forbidden’ page when accessing the https://fdw.fews.net/dashboard/inventory/ without a superuser right, and this was resolved. The Inventory Dashboard is now accessible without a superuser right access.

Incorrect FDW calculations (Forex) - DATA-329

  • There was an incorrect calculated field of the inverse_value which was shown in the data extract and this was resolved.

The UI Screen of the Trade data domain of the FDE does not show data for the Trade status / Trade type column information - DATA-334

  • The UI Screen of the Trade data domain of the FDE did not show the data for the Trade status / Trade type column information and this was resolved.

Unable to save Livelihood Zones when a Geographic Unit Version is saved - DATA-337