coronavirus-tracker-api icon indicating copy to clipboard operation
coronavirus-tracker-api copied to clipboard

US State Timelines

Open fsa317 opened this issue 4 years ago • 7 comments

Not sure if it something wrong with what I am doing but I seem to have lost the ability to get US State based timelines from the API?

fsa317 avatar Mar 24 '20 15:03 fsa317

FYI, this is inconsistent at the source, making it a source-level issue. The source changed their data structure for US as a special case. @CSSEGISandData/COVID-19 accumulated over 100 new issues overnight because of this dramatic change...

my comment in #164

Additional context: they changed it to where they're reporting on the county level, which is a great thing for analyzing the data, but not so great for backward-compatibility

imjoshellis avatar Mar 24 '20 15:03 imjoshellis

Right, but is there still a way to get state level #s?

fsa317 avatar Mar 24 '20 15:03 fsa317

JHU has decided to not track state-level anymore, and focus on country. CSBS provides all the way down to county-level. However, it is U.S. exclusive and doesn’t offer other countries.

“v2/locations?source=csbs”. It does not support timelines either.

ExpDev07 avatar Mar 24 '20 16:03 ExpDev07

From what I see the JHU daily reports still show individual states and counties. Couldn't the timelines be built from that? https://github.com/CSSEGISandData/COVID-19/blob/master/csse_covid_19_data/csse_covid_19_daily_reports/03-23-2020.csv

fsa317 avatar Mar 24 '20 16:03 fsa317

@fsa317 given their recent announcement, I am confident they won’t for much longer.

ExpDev07 avatar Mar 24 '20 16:03 ExpDev07

I think we have lost the ability for all timelines. Or rather, asking for JHU with timelines yields an empty result.

jwillis0720 avatar Mar 25 '20 05:03 jwillis0720

You are correct, fixing it now. @jwillis0720

EDIT: it’s working again.

ExpDev07 avatar Mar 25 '20 05:03 ExpDev07