dkobak / excess-mortality

Excess mortality during COVID-19 pandemic
GNU General Public License v3.0
331 stars 45 forks source link

all-countries.ipynb: got HTTPError 'forbidden' for df_official #7

Closed mpaolo closed 3 years ago

mpaolo commented 3 years ago

I'm running the code in local instance of Jupiter, at some point got an error for df_official. I see now there's a hack in the code as chunk 3, but my fix was simply

df_official = pd.read_csv('https://github.com/owid/covid-19-data/blob/master/public/data/owid-covid-data.csv?raw=true')

seems OWD wants to move data traffic onto github. Just checked this URL and original from owd and they're in sync. Indeed, now http://covid.ourworldindata.org redirects to above github account so also old original URL should just work without hack.

dkobak commented 3 years ago

Oh! Thanks! I will use it in the next update :)

dkobak commented 3 years ago

Pushed an update with this fix!