covid19datahub / COVID19

A worldwide epidemiological database for COVID-19 at fine-grained spatial resolution
https://covid19datahub.io
GNU General Public License v3.0
251 stars 93 forks source link

The script needs to be updated for the Brazil's Level 3 #206

Closed felipemfp closed 2 years ago

felipemfp commented 2 years ago

The source wcota/covid19br is now splitting the level-3 data by year.

The data for previous years are available at cases-brazil-cities-time_20xx.csv.gz files, while the data for the current year are at cases-brazil-cities-time.csv.gz.

They have an example of how to collect the data using Python and Pandas:

pd.concat([pd.read_csv(x) for x in glob.glob('cases-brazil-cities-time_2*.csv.gz') + ['cases-brazil-cities-time.csv.gz']])
eguidotti commented 2 years ago

Thank you!!! Commit 1d5d1f423da5fc4d252f403d2f3996ba0b047e44 should fix that. Let's wait a couple of hours to check whether it works as intended

eguidotti commented 2 years ago

It seems to be fixed

felipemfp commented 2 years ago

Thank you!