datasets / covid-19

Novel Coronavirus 2019 time series data on cases
https://datahub.io/core/covid-19
1.16k stars 605 forks source link

[fix][xs]: Remove / from header names to avoid datahub.io error and update csv data #2

Closed mpolidori closed 4 years ago

mpolidori commented 4 years ago

I didn't have permissions to edit the repo. When uploading to datahub.io, it fails due to the / in the header names. I tried placing them in strings, like '"Country/Region"', but the output always ended up like this, """Country/Region""", so I just went with Country and Province.

mpolidori commented 4 years ago

So, I'm getting TypeError: "delimiter" must be a 1-character string again when I upload to datahub...

I fixed it by placing all strings in the csv with a space in quotes. I'm not sure why this isn't taken care of by default.