Load COVID-19 case data from John Hopkins database
# Load COVID-19 case data from John Hopkins database
Loading, processing and plotting the data from the John Hopkins COVID-19 database. The data is automatically read from the online repository, thus, you need a internet connection. The data can be found here: https://github.com/CSSEGISandData/COVID-19.
# How to (see runAll.m):
type = 'confirmed'; % 'confirmed','deaths','recovered'
[dataMatrix] = readCoronaData(type);
[dataTable,timeVector,mergedData] = processCoronaData(dataMatrix);
plotCoronaData(timeVector,mergedData,{'Denmark','US','Germany','China'},type);
Citation pour cette source
Axel Ahrens (2025). Load COVID-19 case data from John Hopkins database (https://github.com/aahr/covid-19_data_analysis), GitHub. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Data Import and Analysis > Data Import and Export > Web Access and Streaming > Web Services >
- Sciences > Biological and Health Sciences >
- Test and Measurement > ThingSpeak >
- Sciences > Biological and Health Sciences > Epidemiology >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Les versions qui utilisent la branche GitHub par défaut ne peuvent pas être téléchargées
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 0.63 | -fixed bug in reading script due to comma in Province/State field. |
|
|
| 0.62 | -Fixed issue with table in MATLAB versions before 2019b (Thank you to Ernesto Criado-Hidalgo and Christopher Hoen). |
|
|
| 0.61 | -fixed bug that occurs on Mac OSX pointed out by Christopher Hoen (Thank you!) |
|
|
| 0.60 | -fixed typo in Description
|
|
|
| 0.50 | -The John Hopkins database format was changed again |
|
|
| 0.41 | -The John Hopkins database changed its format |
|
|
| 0.31 | -connected github repo |
|
|
| 0.3 | -now also includes the options to load Deaths and Recovered cases. |
||
| 0.2 | -fixed bug in plotting function
|
||
| 0.1 |
