Laeyoung / COVID-19-API

API Service for tracking the COVID-19
https://ainize.ai/laeyoung/covid-19-api
MIT License
121 stars 32 forks source link

Hi dataset is returning 0 as values #9

Closed Chukwudi4 closed 4 years ago

Laeyoung commented 4 years ago

Hello, @Chukwudi4

Could you tell me a little more detail?

Chukwudi4 commented 4 years ago

The values of confirmed, deaths and recovered were 0. The cities returned with the location and the values of confirmed, deaths and recovered for each city were 0.

The issue seems to be resolved as of now.

Laeyoung commented 4 years ago

@Chukwudi4

It was happened again for last 4 hours. And I found the cause of this issue.

This api refer 3 csv files at CSSEGISandData/COVID-19. I found that they created a column of new date first, and then filled data in new cells after 4~5 hours.

like this

It caused this issue, and I will fix ASAP.

Thanks for letting me know this issue.

Laeyoung commented 4 years ago

It has been fixed at https://github.com/Laeyoung/COVID-19-API/commit/84e19913411e611c8767f95b882d6a7c5f3a4a73