Stay up to date with corona virus data - Download and generate reports
Project description
covid-19-analysis
What does it do?
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
- Creates a time series dataset
- Creates a daily stats dataset
- Generates a number of visualizations
- You can also filter reports for a given country
- Generates an excel report including all of the above
- All results are saved to the output
reports
folder
To-do list
- checkout the kanban boards to see work in progress
Installation
pip install covidify
How to run:
$ 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/award40/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]
--country TEXT Filter reports by a country
--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
# Filter reports by country
covidify run --country=Germany
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.
Daily Trend Line
This is an daily sum trendline for all the confirmed cases, deaths and recoveries.
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)
Daily Confirmed Cases
A count for new cases recorded on that given date, does not take past confirmations into account.
Daily Deaths
A count for deaths due to the virus recorded on that given date, does not take past deaths into account.
Daily Recoveries
A count for new recoveries recorded on that given date, does not take past recoveries into account.
Currently Infected
A count for all the people who are currently infected for a given date (confirmed cases - (recoveries + deaths))
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
- All code written by me (Aaron Ward - https://www.linkedin.com/in/aaronjward/)
- A special thank you to the JHU CSSE team for maintaining the data
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for covidify-0.1.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0c385441430e5f7e53ffc8abfdcaf52c1f9d33c4c8350bd26c8f3e8b8cc5fa7 |
|
MD5 | 9fce40e24ae2214acb8a5c8f2b76d1dd |
|
BLAKE2b-256 | 995ab2e64e45401312e01bfd38b4174c3b24cc3828dd81e302c963d7d9ccfc5c |