COVID-19 Analysis Library
COVID-19 analysis on data from CSSEGISandData covering all the 150+ countries in the data.
The library contains two functions:
-
trends()
Trends by country, top 10 trends comparison, top 10 and worldwide bar graph. Standalone interactive HTML. -
daily_report(*, filename='')
Daily report bar graph for all countries: Confirmed, Recovered, Deaths, & Active. Incident Rate & Case Fatality Ratio in a table. Standalone interactive HTML
Important Note: This library requires internet connection to connect to CSSEGISandData repository on GitHub to download input files. The daily_report() has an option to take the local file, but for latest or recent report it is suggested to connect to CSSEGISandData repository on GitHub.
1. trends()
The output from this source code contains following tabs with graphs:
- Trends by country
- Cases:
- Cumulative
- Daily
- Seven day moving average
- Recovered
- Death
- Active
- Rate & Ratio:
- Incident Rate
- Case Fatality Ratio
- Cases:
- Trends comparison
- Top 10 countries trends with options for log plot & highlight countries by clicking on countries label
- Top 10 bar graph and table of data corresponding to graph
- Worldwide bar graph and table of data corresponding to graph
The source code uses bokeh, panel, holoviews & hvplot modules along with pandas.
The source code reads the following files from CSSEGISandData repository on Github: 'https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_confirmed_global.csv' 'https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_recovered_global.csv' 'https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_deaths_global.csv'
This when executed generates standalone interactive HTML file
2. daily_report(*, filename='')
The output from this source code contains:
- Daily graphs of Confirmed, Recovered, Deaths, & Active cases.
- Daily Incident Rate & Case Fatality Ratio in a table.
The source code reads the recent file with the name 'mm-dd-yyyy.csv' from CSSEGISandData repository on Github or from the local file 'mm-dd-yyyy.csv' given by user.
'https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_daily_reports/'
This when executed generates standalone interactive HTML file
Metadata
Release files for COVID19analysis 1.2.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| COVID19analysis-1.2.7-py3-none-any.whl | Python 3 | none | any | Details for COVID19analysis-1.2.7-py3-none-any.whl |
Release files / COVID19analysis-1.2.7-py3-none-any.whl
| Download URL | COVID19analysis-1.2.7-py3-none-any.whl |
|---|---|
| Size | 19.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
86128661c63de7964672cee42d1da29c624055c9e77aa30486a0a14cca8c4ce0
|
|
BLAKE2b-256 checksum How to use checksums |
d1431bd76445b4874d1d0c86ddafa152dce83bd88905c47c233f37a60286e490
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/0.0.0 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Security for COVID19analysis 1.2.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.