GFDRR / open-risk-data-dashboard

Repository for the Open Data for Resilience Index, a website to track and improve the state of Open Data for Resilience worldwide.
https://index.opendri.org
GNU Lesser General Public License v3.0
23 stars 8 forks source link

dataset_list: remove score info and replace by indicators #432

Closed pzwsk closed 5 years ago

pzwsk commented 5 years ago

Replace this:

image

By new set of indicators open, closed, restricted and unknown.

Use /api/scoring/:country API.

👁 Live Preview

thom4parisot commented 5 years ago
image

Question: The new API returns data only for existing datasets, @nastasi-oq is there a way to fetch all KeyDatasets in 1 request so as I can list them as "missing datasets"? (cf. next screenshot)

image
thom4parisot commented 5 years ago

@pzwsk here is what I've done so far to replace the score:

image

The unknown count relies on my previous comment (how to fetch the keydatasets list — at the moment I need at least 5 HTTP calls to retrieve the list).

nastasi-oq commented 5 years ago

Could you publish it on exp. machine to check if it match the new api/scoring/<country_code> ?

thom4parisot commented 5 years ago

Done 👍

image

pzwsk commented 5 years ago

I am doing a force merge, approval is not working, don't know why.