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
...
Fix "[invalid name]" filter labels https://fewsnet.atlassian.net/browse/DATA-285
Dataset 981 pulling wrong/unknown CPI data https://fewsnet.atlassian.net/browse/DATA-289
FDE Spatial map view doesn't work for Kenya FSC Units 2016 https://fewsnet.atlassian.net/browse/DATA-290
Spatial view has unusual behaviour around selected Versionshttps://fewsnet.atlassian.net/browse/DATA-291
All the season records of the Crop Production data domain do not show the specific data domain i.e (Crop Production)https://fewsnet.atlassian.net/browse/DATA-297
Unable to access Geographical Unit Set Versions that contain Markets via the API https://fewsnet.atlassian.net/browse/DATA-300
500 error on /api/geographicunit/ with both unit_type and used_for parameters https://fewsnet.atlassian.net/browse/DATA-322
Placeholder text on Trade domain search bar says "report country" instead of "reporting country" https://fewsnet.atlassian.net/browse/DATA-323
Accessing thehttps://fdw.fews.net/dashboard/inventory/with out a superuser right results in 403 Forbidden pagehttps://fewsnet.atlassian.net/browse/DATA-328
Incorrect FDW calculations (Forex) https://fewsnet.atlassian.net/browse/DATA-329
The UI Screen of the Trade data domain of the FDE does not show data for the Trade status / Trade type column information https://fewsnet.atlassian.net/browse/DATA-334
Unable to save Livelihood Zones when a GeographicUnitVersion is saved https://fewsnet.atlassian.net/browse/DATA-337
Features
Revisit Crosstab extracts for Crop Production - DATA-234
This feature is about implementing a single cross-tabbed output row for the multiple output is displayed for the multiple indicators of the crop data domain indicators (i.e ( Area Planted, Quantity Produced, Yield) per rowof 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 creating showing the IPC Classification maps using 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 multipolygons multi-polygons for the dissolved Features features that share the same Phase phase to provide access to the correctly 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 the appropriate 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 selects select the specific geometry type.
...
Make is_staple_food visible through the browseable API and /en/schema-ui interfaces - DATA-292
This feature is about allowing the filter
is_staple_food
to become accessible through the browseable APIs’ of (https://fdw.fews.net/api/marketprice/?is_staple_food , https://fdwdev.fews.net/api/marketproduct/?is_staple_food and https://fdw.fews.net/api/marketprice/?is_staple_food=0 , https://fdw.fews.net/api/marketproduct/?is_staple_food=0)
Enhanced Geographic Unit Map View in FDE - DATA-293
This enhancement is about including the
Estimated Population
,Area
andEstimated Population Density
filelds on fields in the tabular view of the spatial data domain and as well as adding theExport
tab that shows a download button with the refreshable links for extracting the selected units either using `formatformat=
geojson`geojson
or `formatformat=
shapefile`shapefile
.
Prototype: Interactive Map Visualization for COVID-19 website page - DATA-303
This feature is a prototype for visualizing the covid-19 stats statistics through the interactive maps by implementing the
Peak needs
API end point andCovid 19 cases/deaths
API end pointpoints.
Add a country_code filter to CountryFilter - DATA-310
This feature allows users to filter list of countries either using the codes of the countries country codes as seen here: https://fdw.fews.net/api/country/?country_code=KE&country_code=TZ&country_code=UG&country_code=ET) or the full name of the countries, as seen here: https://fdw.fews.net/api/country/?country=Kenya&country=Tanzania,%20United%20Republic%20of&country=Uganda&country=Ethiopia)
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 a search using both with the accented and unaccented versions of characters.
...
Update all DataSeries subclass Admins to show facts - DATA-327
This feauture feature is about showing the facts period i.e (
Firstperiod date
, lastLast period date
and datapointData 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 returns in faster 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 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
Since the current generic search box of the
Crop Production Indicator
andCrop Production Indicator Value
is unusably slow due to the volume of the Crop production data , this task was about removing the Search box from the(https://fdw.fews.net/en/admin/survey/cropproductionindicator/) and (https://fdw.fews.net/en/admin/survey/cropproductionindicatorvalue/). This will be replaced once a better solution is in place.
Peak needs API end point - DATA-335
This task was about creating API end point that read reads the the google sheet GoogleSheet (https://docs.google.com/spreadsheets/d/1honKsI13RIkwB-DTJg7SqVHkqPgKjOsiljzUkJSqj2s/edit#gid=0 ) and returns the whole countries country’s data at (https://fdw.fews.net/api/efapeakneeds/) or if a specific country_code is passed, for instance, (https://fdw.fews.net/api/efapeakneeds/?format=api&country_code=AF) then that specific country’s data will be returned as wella result.
Covid-19 cases/deaths API end point - DATA-336
This task was about adding the API end points i.e (point https://api.covid19api.com/all ) which returns the whole countries country’s cases/death data and in addition to this if a country_code parameter is passed to the query such as (https://fdw.fews.net/api/covid19/?country_code=ET ) then the data of this specific country will be returned as a result.
Remove the Search box from the Crop production tab of the FDE - DATA-356
Since the crop Production 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 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 were was an issue in viewing 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 typestype.
...
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 Vesrions that contain Markets using the API , for instance , Versions that contains markets, as seen here: https://fdw.fews.net/api/geographicunitsetversion/365 , this . This was resolved . The and the Geographical Unit Set Versions 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
Tying to access an API (/api/geographicunit/) with a combination of the parameters
unit_type
andused_for
, for exampleinstance, https://fdw.fews.net/api/geographicunit/?unit_type=admin3&used_for=CropProductionIndicator, was shown showing a 500 ‘500 Internal Server error error’ and this was resolved and the api API is now accessible.
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 were was displayed as
report country
and now it ir it’s renamed to the correct saying “reportingreporting country
".
...
Accessing thehttps://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
calculated fileld which were was shown in the data extracts 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
When a GeograhicUnitSetVersion was Geographic Unit Set Version was saved with a Livelihood zone data in of the shape file then , the corresponding values of the `LivelihoodZone` the Livelihood Zone data did not saved and this was resolved and the . The list of the livelihood zones data are shown (i.e ( https://fdw.fews.net/en/admin/spatial/livelihoodzone/?q=kenya) after saving the Geographic unit set version of the livelihood zone shapefile data (i.e. https://fdw.fews.net/en/admin/spatial/geographicunitsetversion/1350/change/).
...