Covidify – corona virus report generator (Python)

栏目: IT技术 · 发布时间: 4年前

内容简介:This repo is for analysis on the

covid-19-analysis

Covidify – corona virus report generator (Python)

This repo is for analysis on the corona virus / covid-19 that will extract the latest data and generate reports. This repo will be updated daily

To-do list

Installation

  • pip install covidify

How to run:

Desktop $covidify
Usage: covidify [OPTIONS] COMMAND [ARGS]...

  ☣  COVIDIFY ☣

   - use the most up-to-date data to generate reports of confirmed cases,
   fatalities and recoveries.

Options:
  --help  Show this message and exit.

Commands:
  run
$ covidify run --help
Usage: covidify run [OPTIONS]

Options:
  --output TEXT  Folder to output data and reports [Default:
                 /Users/$USER/Desktop/covidify-output/]
  --source TEXT  There are two datasources to choose from, John Hopkins github
                 repo or wikipedia -- options are git or wiki respectively
                 [Default: git]
  --help         Show this message and exit.

Example Commands:

# Will default to desktop folder 
# for output and github for datasource
covidify run
# Will default to desktop folder for output
covidify run --source=wiki
covidify run --output=/Users/award40/Documents/projects-folder --source=git

Results:

  • The package will pull the latest live data and generate following in the output folder:
    • Preprocessed time series data
    • graph reports

Visualization of data

This plots will be updated daily to visualize stats 3 attributes:

confirmed cases
deaths
recoveries

Trend Line

This is an accumalitive sum trendline for all the confirmed cases, deaths and recoveries. Covidify – corona virus report generator (Python)

Daily Trend Line

This is an daily sum trendline for all the confirmed cases, deaths and recoveries. Covidify – corona virus report generator (Python)

Stacked Daily Confirmed Cases

This stacked bar chart shows a daily sum of people who are currently confirmed ( red ) and the number of people who have been been confirmed on that day ( blue )

Covidify – corona virus report generator (Python)

Daily Confirmed Cases

A count for new cases recorded on that given date, does not take past confirmations into account. Covidify – corona virus report generator (Python)

Daily Deaths

A count for deaths due to the virus recorded on that given date, does not take past deaths into account. Covidify – corona virus report generator (Python)

Daily Recoveries

A count for new recovories recorded on that given date, does not take past recoveries into account. Covidify – corona virus report generator (Python)

Currently Infected

A count for all the people who are currently infected for a given date (confirmed cases - (recoveries + deaths)) Covidify – corona virus report generator (Python)

Data Source

  • The data comes from the Novel Coronavirus (COVID-19) Cases , which is a live dataset provided by JHU CSSE.
  • Data available here .

Appendix


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

众包

众包

杰夫·豪 / 牛文静 / 中信出版社 / 2009-6 / 36.00元

本书是继《长尾理论》之后的重要商业书籍。本书回答了《长尾理论》遗留的一大悬念。在长尾中作者详细阐述了长尾之所以成为可能的一个基础,但是没有详细解读,本书就是对这一悬念的详细回答,是《长尾理论》作者强力推荐的图书,在国际上引起了不小的轰动,“众包”这一概念也成为一个标准术语被商界广泛重视。本书大致分为三个部分,介绍众包的现在、过去和未来,解释了它的缘起、普遍性、力量以及商业上的适用性,通俗易懂,精彩......一起来看看 《众包》 这本书的介绍吧!

html转js在线工具
html转js在线工具

html转js在线工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具