Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Machine-readable case data for Mexico are available at state and municipality level #489

Open
pwrose opened this issue May 21, 2020 · 4 comments
Assignees
Labels
needs-verification Waiting for verification on an item that we believe to be fixed.

Comments

@pwrose
Copy link

pwrose commented May 21, 2020

It would be great to ingest detailed data for Mexico. They are available as .csv files at the state and municipality level here:

https://coronavirus.gob.mx/datos/#DownZCSV

@jzohrab jzohrab closed this as completed Aug 9, 2020
@jzohrab jzohrab reopened this Aug 9, 2020
@jzohrab jzohrab transferred this issue from covidatlas/coronadatascraper Aug 9, 2020
@jzohrab
Copy link
Contributor

jzohrab commented Aug 10, 2020

Thanks @pwrose, this is great, especially as the situation in Mexico gets worse.

The actual links for download are, e.g for Aug 9:

https://coronavirus.gob.mx/datos/Downloads/Files/Casos_Diarios_Municipio_Confirmados_20200809.csv
https://coronavirus.gob.mx/datos/Downloads/Files/Casos_Diarios_Municipio_Defunciones_20200809.csv

To be safe we could download for the previous date, hopefully the files are there every day.

There's another link, https://datos.gob.mx/busca/dataset/informacion-referente-a-casos-covid-19-en-mexico, which has a link to a zip -- http://187.191.75.115/gobmx/salud/datos_abiertos/datos_abiertos_covid19.zip -- but that continually fails for me in Canada. Does it work for you?

@jzohrab
Copy link
Contributor

jzohrab commented Aug 10, 2020

Actually I think the links under "Casos diarios por Estado + Nacional" are better. I'm not sure what the municipio data is, it doesn't total up nearly to what is expected.

Links:
Downloads/Files/Casos_Diarios_Estado_Nacional_Defunciones_20200809.csv
Downloads/Files/Casos_Diarios_Estado_Nacional_Confirmados_20200809.csv

@pwrose
Copy link
Author

pwrose commented Aug 10, 2020 via email

@jzohrab jzohrab mentioned this issue Aug 11, 2020
@jzohrab
Copy link
Contributor

jzohrab commented Aug 12, 2020

Hi @pwrose - in #563 I added a source for Mexico Estado/Nacional, which maps clearly to our data model.

We don't currently have a clear model for finer-grained data than that (e.g., cities, municipal, etc), so I'm going to defer that work as there is so much else to do!

I'll mark this issue as needs-verification and assign it to you, to verify that it's in the report (may take a day or two to get launched and to generate fully). Then we should close this issue, and open up a new one for the municipal data ... I can't give a timeframe as we have a huge backlog to handle.

Cheers and thanks for the data links. jz

@jzohrab jzohrab added the needs-verification Waiting for verification on an item that we believe to be fixed. label Aug 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs-verification Waiting for verification on an item that we believe to be fixed.
Projects
None yet
Development

No branches or pull requests

2 participants