Linear Regression based analysis of COVID-19 statistics.
View the bot in action: @covid_context
Any Feedback and additional requests of are more than welcome, if you want to run the program for yourself for any reason, just install the library and add your API keys, uses in anyway possible, apart from for use spreading misinformation.
All credit to Our world in data, dataset used is found here.
All original work, use as required via license.
Idea behind the project was to add some more context to the covid statistics. The correlation of cases and tests are plotted, then linear regression is used to plot the best fit line. The assumptions are low testing numbers and higher covid cases results in the worst performing outcomes for countries. The residuals are calculated and the high postive points (below the line) result as the worst performing.
Python 3.7.7 or higher is required.
Use the package manager pip to install the following requirements.
pip install pandas
pip install tweepy
pip install plotly
main.py - Data processing, calculations, plotting and twitter API posting. keys.py - Dictionary containing developer API keys. readme.md - Read me file.