cmu-delphi / covidcast-indicators

Back end for producing indicators and loading them into the COVIDcast API.
https://cmu-delphi.github.io/delphi-epidata/api/covidcast.html
MIT License
12 stars 17 forks source link

Research and fix: JHU CSSE added borough support for NYC #256

Closed krivard closed 3 years ago

krivard commented 4 years ago

The CDC meeting this week announced that JHU CSSE will be changing its reporting of cases and deaths in NYC to include all boroughs instead of just Manhattan.

krivard commented 4 years ago

@jsharpna?

dshemetov commented 4 years ago

@krivard I can take a look at this after I get a handle on the Unassigned situation.

krivard commented 4 years ago

@Katie @Jingjing Tang I’m not sure I remember who’s handling the JHU signals, but this morning, Kings County’s (7-day avg) incidence rate is ridiculous: over 8 million.

geo_value                        signal time_value direction      issue lag   value stderr sample_size data_source
36047 confirmed_7dav_incidence_prop 2020-09-09        NA 2020-09-10   1 8828571     NA          NA    jhu-csse

Ryan 5 minutes ago It looks like other counties that comprise NY are giving ridiculous numbers this morning, as well. This might have to do with the fact that JHU now started separating out counties in NY whereas before they weren’t? cc @Addison @Alex Reinhart who if memory serves me right, thought about this at one time too.

krivard commented 4 years ago

@huisaddison is picking up a hot fix; in the meantime I'm scrubbing the affected prop entries from the DB

huisaddison commented 4 years ago

Issue:

EDIT: actually may have included 1 in pop to avoid 0/0 division... but I could have handled it more elegantly

Fix:

capnrefsmmat commented 4 years ago

Can you do that in a way that doesn't break the old JHU data? Or did they change the historical data too?

huisaddison commented 4 years ago

Yeah they changed historical data too, cases taken from here https://health.data.ny.gov/Health/New-York-State-Statewide-COVID-19-Testing/xdss-u53e and deaths taken from here: https://github.com/nychealth/coronavirus-data/blob/master/boro/boroughs-case-hosp-death.csv it's documented in their git issue: https://github.com/CSSEGISandData/COVID-19/issues/3084

huisaddison commented 4 years ago

I think that we also asked Viz to implement NYC-specific visualization for counts / prop to account for this. Have we already done work on the Viz side to account for the fact that we no longer need to do special hacks? If not, it may be confusing to website users

krivard commented 3 years ago

@huisaddison Viz is not using JHU for anything except Puerto Rico (they use the USAFacts+JHU combo signal for cases/deaths)

I'm calling this resolved