Load COVID-19 case data from John Hopkins database

版本 0.63 (6.5 KB) 作者: Axel Ahrens
This functions load, process and plot the data from the John Hopkins COVID-19 database.
634.0 次下载
更新时间 2020/4/14

# 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);

引用格式

Axel Ahrens (2024). Load COVID-19 case data from John Hopkins database (https://github.com/aahr/covid-19_data_analysis), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2019b
与 R2018b 及更高版本兼容
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
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
-re-added analysis of recovered cases (was removed from John Hopkins database and is now back)
-changed plotting from legend to annotation

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
-added a plot to show daily increase
-added a script to run all functions

0.1

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库