{"id":13486018,"url":"https://github.com/AaronWard/covidify","last_synced_at":"2025-03-27T20:32:09.838Z","repository":{"id":48318119,"uuid":"237107693","full_name":"AaronWard/covidify","owner":"AaronWard","description":"Covidify - corona virus report and dataset generator for python 📈 [no longer being updated]","archived":false,"fork":false,"pushed_at":"2021-04-22T03:49:58.000Z","size":95316,"stargazers_count":447,"open_issues_count":54,"forks_count":114,"subscribers_count":22,"default_branch":"master","last_synced_at":"2024-07-23T22:04:13.827Z","etag":null,"topics":["2019-ncov","2019ncov","2020ncov","coronavirus","coronavirus-analysis","coronavirus-real-time","covid","covid-19","covid-virus","covidify","jhu-csse","ncov","pandemic","trend","virus"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AaronWard.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"AaronWard","ko_fi":"M4M11RWBF"}},"created_at":"2020-01-30T00:08:53.000Z","updated_at":"2024-06-28T18:10:02.000Z","dependencies_parsed_at":"2022-08-23T17:30:28.844Z","dependency_job_id":null,"html_url":"https://github.com/AaronWard/covidify","commit_stats":null,"previous_names":["aaronward/covid-19-analysis"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AaronWard%2Fcovidify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AaronWard%2Fcovidify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AaronWard%2Fcovidify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AaronWard%2Fcovidify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AaronWard","download_url":"https://codeload.github.com/AaronWard/covidify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":213395792,"owners_count":15580794,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["2019-ncov","2019ncov","2020ncov","coronavirus","coronavirus-analysis","coronavirus-real-time","covid","covid-19","covid-virus","covidify","jhu-csse","ncov","pandemic","trend","virus"],"created_at":"2024-07-31T18:00:36.986Z","updated_at":"2024-07-31T18:02:02.741Z","avatar_url":"https://github.com/AaronWard.png","language":"Jupyter Notebook","funding_links":["https://github.com/sponsors/AaronWard","https://ko-fi.com/M4M11RWBF","https://ko-fi.com/M4M11RWBF'"],"categories":["Data","Languages"],"sub_categories":["Jupyter-Notebook"],"readme":"# covidify  [![PyPi Version](https://img.shields.io/pypi/v/covidify.svg)](https://pypi.python.org/pypi/covidify/) ![PyPI - Downloads](https://img.shields.io/pypi/dm/covidify) ![PyPI - License](https://img.shields.io/pypi/l/covidify?color=yellow) [![Python Versions](https://img.shields.io/pypi/pyversions/yt2mp3.svg)](https://pypi.python.org/pypi/covidify/) \u003ca href='https://ko-fi.com/M4M11RWBF' target='_blank'\u003e\u003cimg height='36' style='border:0px;height:30px;' src='https://cdn.ko-fi.com/cdn/kofi3.png?v=2' border='0' alt='Buy Me a Coffee at ko-fi.com' /\u003e\u003c/a\u003e\n\u003cimg src=\"./resources/default.png\"/\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#features\"\u003eFeatures\u003c/a\u003e •\n  \u003ca href=\"#how-to-use\"\u003eHow To Use\u003c/a\u003e •\n  \u003ca href=\"#install\"\u003eInstall\u003c/a\u003e •\n  \u003ca href=\"#visualizations\"\u003eVisualizations\u003c/a\u003e •\n  \u003ca href=\"https://github.com/CSSEGISandData/COVID-19\"\u003eData Source\u003c/a\u003e •\n  \u003ca href=\"#credits\"\u003eCredits\u003c/a\u003e •\n  \u003ca href=\"https://github.com/AaronWard/covidify/projects\"\u003eTo-Do List\u003c/a\u003e \n\u003c/p\u003e\n\u003chr\u003e\n\n\n## Features\nCovidify downloads the latest [covid-19](https://www.who.int/health-topics/coronavirus) data for confirmed cases, deaths and recoveries. \n- Creates a time series dataset\n- Creates a daily stats dataset \n- Forecast global and country confirmed cases \n- Generate visualizations\n- Filter by country\n- List all countries affected\n- Shows number of people currently infected\n- Generates an excel report including all of the above \n\n![logo](./resources/run.gif \"logo\")\n\n\n\u003chr\u003e\n\n\n## Install\n\n- ```pip install covidify```\n\n## How to use\n\n```powershell\n$ covidify\nUsage: covidify [OPTIONS] COMMAND [ARGS]...\n\n  ☣  COVIDIFY ☣\n\n   - use the most up-to-date data to generate reports of \n     confirmed cases, fatalities and recoveries.\n\nOptions:\n  --help  Show this message and exit.\n\nCommands:\n  list  List all the countries that have confirmed cases.\n  run   Generate reports for global cases or refine by country.\n```\n\n```powershell\n$ covidify run --help\nUsage: covidify run [OPTIONS]\n\nOptions:\n  --output TEXT    Folder to output data and reports [Default:\n                   /Users/award40/Desktop/covidify-output/]\n  --source TEXT    There are two datasources to choose from, Johns Hopkins\n                   github repo or wikipedia -- options are JHU or wiki\n                   respectively [Default: JHU]\n  --country TEXT   Filter reports by a country\n  --top TEXT       Top N infected countries for log plot. [Default: 10]\n  --forecast TEXT  Number of days to forecast cumulative cases in the future.\n                   [Default: 15]\n  --help           Show this message and exit.\n```\n\n\n**Example Commands:**\n\n```powershell\n# List all countries affected \ncovidify list --countries\n```\n\n```powershell\n# Will default to desktop folder for output and github for datasource\ncovidify run \n```\n\n\n```powershell\n# Specify output folder and source\ncovidify run --output=\u003cPATH TO DESIRED OUTPUT FOLDER\u003e\n```\n\n```powershell\n# Filter reports by country\ncovidify run --country=\"South Korea\"\n```\n\n```powershell\n# Show top 20 infected countries on a logarithmic scale\ncovidify run --top=20\n```\n\n```powershell\n# Forecast cumulative cases in America for 14 days into the future\ncovidify run --country=America --forecast=14\n```\n\n\u003chr\u003e\n\n## Visualizations\nAn excel spreadsheet is generated with a number of visualizations and statistics.\n\n![logo](./resources/report.gif \"logo\")\n\n\n##### Logarithmic Plot\n\nThis plot shows the top `N` infected countries on a logarithmic scale.\n![alt text](./reports/images/confirmed_log.png)\n\n##### Forecasting\n\nAn ARIMA model is trained and used to forecast the cumulative cases for `N` number of days\ninto the future (DISCLAIMER: the forecast is a ballpark figure, and should not be taken as gospel)\n![alt text](./reports/images/cumulative_forecasts.png)\n\n\n##### Accumulative Trend\n\nThis is an accumulative sum trendline for all the confirmed cases, deaths and recoveries.\n![alt text](./reports/images/confirmed_trendline.png)\n\n##### Daily Trendline\n\nThis is a daily sum trendline for all the confirmed cases, deaths and recoveries.\n![alt text](./reports/images/new_confirmed_cases_trendline.png)\n\n##### Stacked Daily Confirmed Cases\n\nThis stacked bar chart shows a daily sum of people who are already confirmed (\u003ci\u003ered\u003c/i\u003e) and the people who have been confirmed on that date (\u003ci\u003eblue\u003c/i\u003e)\n\n![alt text](./reports/images/confirmed_cases_stacked_bar.png \"Number of people actually with the virus for each day\")\n\n\n##### Daily Confirmed Cases\n\nA count for new cases on a given date, does not take past confirmations into account. \n![alt text](./reports/images/new_confirmed_cases_bar.png)\n\n##### Daily Deaths\n\nA count for deaths on a given date, does not take past deaths into account. \n![alt text](./reports/images/new_deaths_bar.png)\n\n##### Daily Recoveries\n\nA count for new recoveries on a given date, does not take past recoveries into account. \n![alt text](./reports/images/new_recoveries_bar.png)\n\n##### Currently Infected\n\nA count for all the people who are currently infected for a given date.\n![alt text](./reports/images/currently_infected_bar.png)\n\n\n\u003chr\u003e\n\n## Credits\n- Written by me (Aaron Ward  - https://www.linkedin.com/in/aaronjward/)\n- A special thank you to the [JHU CSSE](https://systems.jhu.edu/) team for maintaining the data\n- Also a special thank you to @ajaymaity for bug fixes 🎉\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAaronWard%2Fcovidify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAaronWard%2Fcovidify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAaronWard%2Fcovidify/lists"}