Skip to content

πŸ“Š Open source scripts for analyzing daily reports from Dutch National Institute for Public Health and the Environment (RIVM) about confirmed COVID-19 cases.

License

Notifications You must be signed in to change notification settings

christianversloot/covid-rivm-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

COVID-RIVM-scripts

πŸ“Š 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 πŸ˜‰

Installing the notifier

  1. Ensure that you have Python 3.x installed on your machine.
  2. Ensure that you have playsound installed: pip install playsound
  3. Ensure that you have pandas installed: pip install pandas
  4. Ensure that you have requests installed: pip install requests
  5. Clone this repository.
  6. 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.
  7. Do the same for a meh.mp3 file e.g. https://freesound.org/people/UncleSigmund/sounds/30988/

Running the notifier

  1. Run the script: python covid.py.
  2. The script will automatically stop when new numbers get in and you will be notified by sound.

Running the by-municipality reporter

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!

License

Apache 2.0 License

About

πŸ“Š Open source scripts for analyzing daily reports from Dutch National Institute for Public Health and the Environment (RIVM) about confirmed COVID-19 cases.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages