Skip to main content

A package for predicting the number of daily deaths

Project description

COVID-19 daily death prediction

deathdaily is a Python program using new_deaths.csv for predicting daily deaths due to COVID-19 in the next seven days. The prediction is based on the Xthe degree polynomial curve-fitting.

According to PyPI Stats, deathdaily has been downloaded by 10356 users worldwide as of Oct.14 2021.

X-axis is the xth day from Jan.22 2020 to the day you have downloaded new_deaths.csv file. Y-axis depicts the number of daily deaths in the country.

new_deaths.csv

deathdaily needs a new_deaths.csv file for predicting the daily deaths of the next seven days.

The new_deaths.csv file is automatically downloaded by deathdaily from the following site:

https://raw.githubusercontent.com/owid/covid-19-data/master/public/data/jhu/new_deaths.csv

How to install deathdaily

$ pip install deathdaily

How to run deathdaily using country with days and degree of polynomial curve-fitting

"country" shows which country you would like to predict the daily deaths of the next seven days.

"days" indicates how many days are used for Xth degree polynomial curve-fitting.

"degree" determined the degree of polynomial curve-fitting.

$ deathdaily Japan days degree

$ deathdaily Japan 200 7

country="Japan", days=200, degree=11

$ deathdaily 'United States' 200 11

$ deathdaily Israel 200 9

$ deathdaily 'United Kingdom' 100 11

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deathdaily-0.1.2.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distributions

deathdaily-0.1.2-py3.8.egg (4.5 kB view hashes)

Uploaded Source

deathdaily-0.1.2-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page