IFRCGo / go-frontend

MIT License
21 stars 5 forks source link

Bug on API data #158

Closed guipizzini closed 6 years ago

guipizzini commented 6 years ago

Hi Derek,

We've noticed that we have some data issues, in addition to those already submitted by @k-som

Will double check with our IT but pointing this stuff out.

screen shot 2018-02-05 at 08 37 19
dereklieu commented 6 years ago

Need clarification on what figures are not correct.

k-som-zz commented 6 years ago

@dereklieu figures for DREF operations are almost correct, but we haven't launched any Emergency Appeals this year; that's what we have for this year: 2018 7 DREFs, 1,449,548 CHF total budget, 52,284 people targeted (8 DREFS on the homepage??).

guipizzini commented 6 years ago

Hi @dereklieu this one we need to have done in phase 1.0 as its important. Thanks for your understanding.

guipizzini commented 6 years ago

For example on the infobox on the graphic, we have 960.6M of funded Emergency Appeals. That is actually quite not the case...

dereklieu commented 6 years ago

Pretty sure this is a result of #163 but we should check that after this is deployed. cc @guipizzini @k-som

dereklieu commented 6 years ago

Here's the current result for appeals started this year:

https://dsgocdnapi.azureedge.net/api/v1/appeal/?start_date__gte=2018-01-01

Is this accurate?

k-som-zz commented 6 years ago

Yes, that is correct - 7 DREF operations only

guipizzini commented 6 years ago

And now 8 as DPRK was just launched and it appears correctly.

However the line chart still displays wrong data for the Appeals, see below:

screen shot 2018-02-08 at 11 45 05