disease-sh / API

API for Current cases and more stuff about COVID-19 and Influenza
https://disease.sh
GNU General Public License v3.0
2.46k stars 639 forks source link

Key mismatch in /states endpoint #140

Closed siaw23-retired closed 4 years ago

siaw23-retired commented 4 years ago

I'm wondering the validity of this information on the /states endpoint

{"state":"Maryland","cases":288,"todayCases":0,"deaths":3,"todayDeaths":0,"recovered":281,"active":0}

The number of recovered people is 281, this is not correct I think because in the whole of the States only about 600 people have recovered.

In fact, all ACTIVE keys on https://corona.lmao.ninja/states are 0

I think RECOVERED is swapped for ACTIVE.

kvenn commented 4 years ago

The scraper broke because the columns changed again. The table removed recovered.

https://www.worldometers.info/coronavirus/country/us/

JamesShelley commented 4 years ago

@EliteDaMyth just confirmed a fix for this is one the way - https://github.com/NovelCOVID/API/pull/141 👍

ghost commented 4 years ago

it is pushed to the repo. it is not yet on the main API yet. We are testing some stuff rn so it can take a while for now :)

ghost commented 4 years ago

@all-contributors please add @JamesShelley for review

allcontributors[bot] commented 4 years ago

@EliteDaMyth

I've put up a pull request to add @JamesShelley! :tada: