All Projects → mariorz → covid19-mx-time-series

mariorz / covid19-mx-time-series

Licence: EPL-1.0 license
Time series data of the COVID-19 epidemic in Mexico

Programming Languages

clojure
4091 projects

Projects that are alternatives of or similar to covid19-mx-time-series

covid-dashboard
Help welcomed if you have expertise in public health web technology, data modeling and munging, or visualization.
Stars: ✭ 106 (+194.44%)
Mutual labels:  covid-19, covid19, covid-data, covid19-data
covid-19-image-repository
Anonymized dataset of COVID-19 cases with a focus on radiological imaging. This includes images (x-ray / ct) with extensive metadata, such as admission-, ICU-, laboratory-, and patient master-data.
Stars: ✭ 42 (+16.67%)
Mutual labels:  covid-19, covid19, covid-data, covid19-data
COVID19
A web app to display the live graphical state-wise reported corona cases in India so far. It also shows the latest news for COVID-19. Stay Home, Stay Safe!
Stars: ✭ 122 (+238.89%)
Mutual labels:  covid-19, covid19, covid-data, covid19-data
us-covid19
Data repository of State's Health Department stats for COVID19 in the United States
Stars: ✭ 37 (+2.78%)
Mutual labels:  covid-19, covid19, covid-data, covid19-data
COVID-19-DETECTION
Detect Covid-19 with Chest X-Ray Data
Stars: ✭ 43 (+19.44%)
Mutual labels:  covid-19, covid19, covid-data, covid19-data
open-data-covid-19
Open Data Repository for the Covid-19 dataset.
Stars: ✭ 19 (-47.22%)
Mutual labels:  covid-19, covid19, covid-data, covid19-data
coviddata
Daily COVID-19 statistics by country, region, and city
Stars: ✭ 49 (+36.11%)
Mutual labels:  covid-19, covid19, covid-data, covid19-data
covid-19
An app made with Flutter to track COVID-19 case counts.
Stars: ✭ 47 (+30.56%)
Mutual labels:  covid-19, covid19, covid19-data
Mexico-COVID-19
Base de datos de los casos de COVID-19 reportados en México. Database of the cases of COVID-19 reported in Mexico.
Stars: ✭ 71 (+97.22%)
Mutual labels:  covid-19, covid-19-mexico, covid-19-mx
covid19-resources
Curated list of Coronavirus data & apps
Stars: ✭ 35 (-2.78%)
Mutual labels:  covid-19, covid19, covid-data
covid19-pr-api
COVID-19 Open API for Datasets in Puerto Rico
Stars: ✭ 21 (-41.67%)
Mutual labels:  covid-19, covid19, covid19-data
coronainfobd
Real-time corona-virus tracker of Bangladesh 🇧🇩 which includes latest updates, data visualization, public awareness from WHO and some advice to aware people. 🥰❤
Stars: ✭ 46 (+27.78%)
Mutual labels:  covid-19, covid19, covid19-data
PhoNER COVID19
COVID-19 Named Entity Recognition for Vietnamese (NAACL 2021)
Stars: ✭ 55 (+52.78%)
Mutual labels:  covid-19, covid19, covid19-data
covid-19
A web application to display Coronavirus Diseases (COVID19) statistics from different countries.
Stars: ✭ 28 (-22.22%)
Mutual labels:  covid-19, covid19, covid-data
data
Collecting and organising COVID-19 data for Slovenia as they come in from various sources
Stars: ✭ 20 (-44.44%)
Mutual labels:  covid-19, covid19, covid19-data
covid19-kerala-api-deprecated
Deprecated - A fast API service for retrieving day to day stats about Coronavirus(COVID-19, SARS-CoV-2) outbreak in Kerala(India).
Stars: ✭ 14 (-61.11%)
Mutual labels:  covid19, covid-data, covid19-data
covid19-timeseries
Covid19 timeseries data store
Stars: ✭ 38 (+5.56%)
Mutual labels:  covid-19, covid19, covid19-data
coronavirus-data
This repository contains data on Coronavirus Disease 2019 (COVID-19) in New York City (NYC), from the NYC Department of Health and Mental Hygiene.
Stars: ✭ 926 (+2472.22%)
Mutual labels:  covid-19, covid19, covid19-data
covid19-datasets
A list of high quality open datasets for COVID-19 data analysis
Stars: ✭ 56 (+55.56%)
Mutual labels:  covid-19, covid19, covid19-data
covid19africa
Africa open COVID-19 data working group
Stars: ✭ 47 (+30.56%)
Mutual labels:  covid-19, covid19, covid19-data

covid19-mx-time-series

This project generates time series data of the COVID-19 epidemic for every state in Mexico.

Data Organization

Basic

The basic set of files are located in the root data directory. These time series are aggregated by the date in which they were officially published, as opposed to symptom onset, or hospital admission date. They are also aggregated by the state in which the patient was treated, as opposed to their state of residence. These are probably the series that would make more sense to compare against other international time series, like the ones published by JHU CSSE.

filename description
covid19_deaths_mx.csv Confirmed deaths aggregated by date of official publication.
covid19_confirmed_mx.csv Confirmed cases aggregated by date of official publication.
covid19_negatives_mx.csv Cases that tested negative aggregated by date of official publication.
covid19_suspects_mx.csv Suspect cases aggregated by date of official publication.
⚠️ On dates of official publication
It is worth noting that there is a considerable lag (up to 14 days) between when the patients are treated and when they are officially published as confirmed cases. These lags do seem to affect the shape of the resulting curves. Further analysis on this issue can be found here.

Full

The full set of time series files are located in the data/full directory.

These time series are aggregated either by the state in which the patient was treated in the data/full/by_hospital_state directory, or by their state of residence in the data/full/by_residency_state directory.

Each of these directories include the following time series CSV files according to case classification and the dates in which they are aggregated by. They are all updated using the latest published official db snapshot. This means that a case that started symptoms onset on date X, but had their case officially published as confirmed on date X+15, will be counted on date X for the files aggregated by date of symptoms onset. However, this update to date X will occur on day X+15.

filename description
confirmed_by_symptoms_date_mx.csv Confirmed cases aggregated by date of symptoms onset.
suspects_by_symptoms_date_mx.csv Suspect cases aggregated by date of symptoms onset.
negatives_by_symptoms_date_mx.csv Cases that tested negative aggregated by date of symptoms onset.
hospitalized_confirmed_by_symptoms_date_mx.csv Hospitalized cases confirmed aggregated by date of symptoms onset.
hospitalized_confirmed_by_admission_date_mx.csv Hospitalized cases confirmed aggregated by date of hospital admission.
hospitalized_suspects_by_symptoms_date_mx.csv Hospitalized suspect cases aggregated by date of symptoms onset.
hospitalized_suspects_by_admission_date_mx.csv Hospitalized suspect cases aggregated by date of hospital admission.
deaths_confirmed_by_symptoms_date_mx.csv Confirmed deaths aggregated by date of symptoms onset.
deaths_confirmed_by_admission_date_mx.csv Confirmed deaths aggregated by date of hospital admission.
deaths_confirmed_by_death_date_mx.csv Confirmed deaths aggregated by date of death.
deaths_suspects_by_symptoms_date_mx.csv Suspect deaths aggregated by date of symptoms onset.
deaths_suspects_by_admission_date_mx.csv Suspect deaths aggregated by date of hospital admission.
deaths_suspects_by_death_date_mx.csv Suspect deaths aggregated by date of death.
deaths_negatives_by_symptoms_date_mx.csv Deaths that tested negative aggregated by date of symptoms onset.
deaths_negatives_by_admission_date_mx.csv Deaths that tested negative aggregated by date of hospital admission.
deaths_negatives_by_death_date_mx.csv Deaths that tested negative aggregated by date of death.

Dates

Date format used is dd/mm/yyyy

How we gather the data

The techniques we use for generating the time series have evolved as the availability of oficial and semi-oficial data has changed.

At first Mexico's Secretaría de Salud published only daily reports (as PDFs) of confirmed and suspected cases.

These files were readily transcribed into more parsable formats by at least a couple of great projects:

Unfortunately these reports did not include deaths for each state in Mexico.

Secretaría de Salud also published an interactive map which included the complete accumulated tolls for each state, which they would update daily at: https://ncov.sinave.gob.mx/mapa.aspx

We would extract the JSON source file used by this map daily, and used that to generate CSV files that include all relevant counts for each state in Mexico as time series.

As of March 20th, this map, and its JSON source file, has been replaced by a new map which only displays information for the different incidence rates, but no total counts.

However, Secretaría de Salud has stared publishing a daily database snapshot, with the disaggregated information for each patient case it studies at https://www.gob.mx/salud/documentos/datos-abiertos-152127

We now use these daily snapshots to generate our different time series.

Missing Data (Affecting only the series generated by date of official publication)

Data for days prior to when this project started running (02-04-2020) were reconstructed from carranco-sga/Mexico-COVID-19, another project that transcribes oficial pdf data into CSV files, with the following caveats:

  1. Missing suspect cases from 29-02-2020 to 13-03-2020, as per carranco-sga/Mexico-COVID-19#1
  2. There is no tracking of negative cases

Incorrect Data (Affecting only the series generated by date of official publication)

On April 12th Secretaría de Salud published data that contradicts the negative cases data published on the day before by showing a reduction in numbers for a few states. This appears to be some sort of error on their part as even their presented numbers for total studied cases fail to add up correctly.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].