Skip to content
This repository has been archived by the owner on Jul 10, 2021. It is now read-only.

Latest commit

 

History

History
35 lines (22 loc) · 1.14 KB

README.rst

File metadata and controls

35 lines (22 loc) · 1.14 KB

Corona_stats

Downloads the current statistics regarding covid 19 from the John Hopkins University and transfers them into an Influx database.

Usage 1.Install Influxdb

2.Configure Influx and create database <covid_stats>

3.install script dependecies
PyGithub => python -m pip install PyGithub influx => python -m pip install influx progressbar => python -m pip install progress
4.run script once to create default settings
fill Settings with values and run Script

The Script now loads available data when executed again. The tables (measurements) <cases> and <timeseries> will be created, which contain the Information in a nicer way then the CSV files do the bear in mind, that the data is "raw" and due to some changes in testing methodology around the world and changing storage formats / contents it may need to be cleaned first before you can use it.

Influx works very well with Grafana, which can be used to create visualisations of the data an example dashboard is saved as json.

Example grafana screen.

https://grafana.soontm.net/dashboard/snapshot/vdQctHJcRgAuJCABf4i0Gum6epwNJd4E?orgId=0