Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/christianversloot/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.
https://github.com/christianversloot/covid-rivm-scripts

covid-19 data-science netherlands open-data open-datasets pandemic pandemic-analysis

Last synced: 27 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](./LICENSE)