Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/christianversloot/covid-rivm-scripts
- Owner: christianversloot
- License: apache-2.0
- Created: 2020-10-20T12:25:23.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-15T13:17:29.000Z (about 4 years ago)
- Last Synced: 2024-10-28T01:07:47.661Z (2 months ago)
- Topics: covid-19, data-science, netherlands, open-data, open-datasets, pandemic, pandemic-analysis
- Language: Python
- Homepage: https://data.rivm.nl/geonetwork/srv/dut/catalog.search#/metadata/5f6bc429-1596-490e-8618-1ed8fd768427?tab=relations
- Size: 19.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)