Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

JSON parse error in "confirmed" endpoint #8

Closed
balsama opened this issue Mar 24, 2020 · 2 comments
Closed

JSON parse error in "confirmed" endpoint #8

balsama opened this issue Mar 24, 2020 · 2 comments

Comments

@balsama
Copy link

balsama commented Mar 24, 2020

Hi. Thanks for putting this together.

The response from https://covid19api.herokuapp.com/confirmed is returning invalid json currently. Specifically:

Error: Parse error on line 15322:
...": 0,			"3/23/20": NaN,			"3/3/20": 0,
----------------------^
Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got 'undefined'
@stopyransky
Copy link

stopyransky commented Mar 24, 2020

yeah i think issue is related to the source CSSEGISandData/COVID-19#1372
seems that they tried to add granulation to US data but messed the whole dataset.
IT seems that now timeseries files are depreciated and will not be updated - they use different files:
info here: CSSEGISandData/COVID-19#1355

@Omaroid
Copy link
Owner

Omaroid commented Mar 26, 2020

I've corrected the files to support the new changes in the dataset. Check the readme for more details.

@Omaroid Omaroid closed this as completed Mar 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants