π Open source scripts for analyzing daily reports from Dutch National Institute for Public Health and the Environment (RIVM) about confirmed COVID-19 cases.
- Get notified when a new number of COVID-19 tests is made available by Dutch RIVM before the news notifies you.
- Find the number of positive COVID-19 tests in any Dutch municipality today / yesterday (and, with some customization, on an arbitrary date)
It's a quick-and-dirty attempt to be made aware of new statistics, so please don't expect the most beautiful code π
- Ensure that you have Python 3.x installed on your machine.
- Ensure that you have
playsound
installed:pip install playsound
- Ensure that you have
pandas
installed:pip install pandas
- Ensure that you have
requests
installed:pip install requests
- Clone this repository.
- Download a
cheer.mp3
file from e.g. https://freesound.org/people/Johanneskristjansson/sounds/371339/ and add it to the folder where you cloned the repository. - Do the same for a
meh.mp3
file e.g. https://freesound.org/people/UncleSigmund/sounds/30988/
- Run the script:
python covid.py
. - The script will automatically stop when new numbers get in and you will be notified by sound.
If new numbers are in, you can also perform a search by municipality name by means of the script by_municipality.py
. Please make sure to adapt the municipalities
variable and ensure that you have pandas
and requests
installed (i.e. pip install pandas requests
). Then run python by_municipality.py
et voila!