• Stars
    star
    447
  • Rank 97,700 (Top 2 %)
  • Language
    Jupyter Notebook
  • License
    MIT License
  • Created almost 5 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Covidify - corona virus report and dataset generator for python πŸ“ˆ [no longer being updated]

covidify PyPi Version PyPI - Downloads PyPI - License Python Versions Buy Me a Coffee at ko-fi.com

Features β€’ How To Use β€’ Install β€’ Visualizations β€’ Data Source β€’ Credits β€’ To-Do List


Features

Covidify downloads the latest covid-19 data for confirmed cases, deaths and recoveries.

  • Creates a time series dataset
  • Creates a daily stats dataset
  • Forecast global and country confirmed cases
  • Generate visualizations
  • Filter by country
  • List all countries affected
  • Shows number of people currently infected
  • Generates an excel report including all of the above

logo


Install

  • pip install covidify

How to use

$ 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:
  list  List all the countries that have confirmed cases.
  run   Generate reports for global cases or refine by country.
$ covidify run --help
Usage: covidify run [OPTIONS]

Options:
  --output TEXT    Folder to output data and reports [Default:
                   /Users/award40/Desktop/covidify-output/]
  --source TEXT    There are two datasources to choose from, Johns Hopkins
                   github repo or wikipedia -- options are JHU or wiki
                   respectively [Default: JHU]
  --country TEXT   Filter reports by a country
  --top TEXT       Top N infected countries for log plot. [Default: 10]
  --forecast TEXT  Number of days to forecast cumulative cases in the future.
                   [Default: 15]
  --help           Show this message and exit.

Example Commands:

# List all countries affected 
covidify list --countries
# Will default to desktop folder for output and github for datasource
covidify run 
# Specify output folder and source
covidify run --output=<PATH TO DESIRED OUTPUT FOLDER>
# Filter reports by country
covidify run --country="South Korea"
# Show top 20 infected countries on a logarithmic scale
covidify run --top=20
# Forecast cumulative cases in America for 14 days into the future
covidify run --country=America --forecast=14

Visualizations

An excel spreadsheet is generated with a number of visualizations and statistics.

logo

Logarithmic Plot

This plot shows the top N infected countries on a logarithmic scale. alt text

Forecasting

An ARIMA model is trained and used to forecast the cumulative cases for N number of days into the future (DISCLAIMER: the forecast is a ballpark figure, and should not be taken as gospel) alt text

Accumulative Trend

This is an accumulative sum trendline for all the confirmed cases, deaths and recoveries. alt text

Daily Trendline

This is a daily sum trendline for all the confirmed cases, deaths and recoveries. alt text

Stacked Daily Confirmed Cases

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

alt text

Daily Confirmed Cases

A count for new cases on a given date, does not take past confirmations into account. alt text

Daily Deaths

A count for deaths on a given date, does not take past deaths into account. alt text

Daily Recoveries

A count for new recoveries on a given date, does not take past recoveries into account. alt text

Currently Infected

A count for all the people who are currently infected for a given date. alt text


Credits

More Repositories

1

generative-ai-workbook

Central repository for all LLM development
Python
178
star
2

PU-learning-example

An example repo for how PU Bagging and TSA works.
Python
33
star
3

Churn-Modelling-Artificial-Neural-Network

Using an afticial neural network to predict customers who leave the bank.
Python
18
star
4

Convolutional-neural-network-for-image-recognition

This convolutional neural network uses the keras and tensor flow backend. It has been trained on 8000 images of cats and dogs. Given an image of a cat or a dog, it can give an accurate prediction of what the object in the image is.
Python
10
star
5

IBM-Watson-Speech-To-Text

A react app that uses the users microphone, when the user talks the voice is streamed to IBM Watson's speech to text API and returns the it in textual format.
JavaScript
6
star
6

Facial-Detection-Node-App

A test project for facial detection using tracking.js
JavaScript
3
star
7

IBM-Watson-Tone-Analysis

JavaScript
1
star
8

raspberry-pi-projects

Repository for electrical engineering with Python and Raspberry PI
Processing
1
star
9

historia-lingua

πŸ—ΊοΈ πŸ’¬ Interactive LLM powered history application
HTML
1
star
10

model-training-tensorflow

Tensorflow model for training the CNN on the Ck+ dataset
Jupyter Notebook
1
star
11

time-series-analysis

Repo for experimenting with time series data
Jupyter Notebook
1
star
12

Tensorflow-XOR

Python
1
star
13

ios-development

A repository for resources for the (iOS 13 & Swift 5 - The Complete iOS App Development Bootcamp (1https://www.udemy.com/course/ios-13-app-development-bootcamp/)
Swift
1
star
14

ml_pipeline_template

Template repo for creating MLFlow pipeline
Python
1
star
15

mlops-practice

Practice repo for MLOps on Azure using terraform.
HCL
1
star
16

Design-Pattern-Assignment

A program that use's 4 design patterns (Factory, builder, singleton and the composite pattern). The program also uses a MySQL database to store data of registered users.
Java
1
star
17

course-projects

Central repository for all code related to courses
Jupyter Notebook
1
star
18

covid-19-analysis-hosting

This is a flask app that will spark off the covidify package everyday. It will using kaffeine to ping the server every 30 minutes to keep it awake (#FreeHosting) , and a cron job will be set up in order to run the job every day
Python
1
star