This Python script shows and saves some charts that explain how the COVID-19 vaccination in Italy is going. The datasets are available at italia/covid19-opendata-vaccini.
- Install matplotlib, numpy and tweepy
Open a command window and type:
python -m pip install -U pip
python -m pip install -U matplotlib
pip install numpy
pip install tweepy
- Run
Open a command window and type python main.py
.
The charts are saved in Charts directory and in a folder named as the day the charts refer to.
-
main.py downloads the datasets, produces and saves the Charts.
-
twitter.py posts a thread on Twitter account @VacciniCovidITA uploading the charts made.
-
readme_autoupdate.py updates the README.md with the new charts link.
-
gitignore_autoupdate.py updates the .gitignore in order to commit only the latest chart folder created.
If SHOW_CHARTS_ENABLED = 1
, the charts are shown in the command window. If SAVING_CHARTS_ENABLED = 0
, the charts will not be saved.
Here are shown some charts that this script created on 2022-02-25.