All Projects → jdieg0 → coronavirus-dresden

jdieg0 / coronavirus-dresden

Licence: MIT license
Collects official SARS-CoV-2 infection statistics published by the city of Dresden.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to coronavirus-dresden

COVID-19-AI
Collection of AI resources to fight against Coronavirus (COVID-19)
Stars: ✭ 25 (+31.58%)
Mutual labels:  opendata, corona, coronavirus, covid-19, sars-cov-2, covid19-data
COVID-19-DETECTION
Detect Covid-19 with Chest X-Ray Data
Stars: ✭ 43 (+126.32%)
Mutual labels:  corona, coronavirus, covid-19, covid19-data
covid19gr
Open Data Aggregation & Knowledge Base Repository for the evolution of the SARS-COV-2 pandemic in Greece.
Stars: ✭ 21 (+10.53%)
Mutual labels:  opendata, coronavirus, covid-19, covid19-data
COVID19
A web app to display the live graphical state-wise reported corona cases in India so far. It also shows the latest news for COVID-19. Stay Home, Stay Safe!
Stars: ✭ 122 (+542.11%)
Mutual labels:  corona, coronavirus, covid-19, covid19-data
covid19-timeseries
Covid19 timeseries data store
Stars: ✭ 38 (+100%)
Mutual labels:  corona, coronavirus, covid-19, covid19-data
cli-corona
📈 Track COVID-19 (2019 novel Coronavirus) statistics via the command line.
Stars: ✭ 14 (-26.32%)
Mutual labels:  corona, coronavirus, covid-19, sars-cov-2
covid-19-image-repository
Anonymized dataset of COVID-19 cases with a focus on radiological imaging. This includes images (x-ray / ct) with extensive metadata, such as admission-, ICU-, laboratory-, and patient master-data.
Stars: ✭ 42 (+121.05%)
Mutual labels:  corona, coronavirus, covid-19, covid19-data
coronainfobd
Real-time corona-virus tracker of Bangladesh 🇧🇩 which includes latest updates, data visualization, public awareness from WHO and some advice to aware people. 🥰❤
Stars: ✭ 46 (+142.11%)
Mutual labels:  corona, coronavirus, covid-19, covid19-data
covid19 scenarios data
Data preprocessing scripts and preprocessed data storage for COVID-19 Scenarios project
Stars: ✭ 43 (+126.32%)
Mutual labels:  coronavirus, covid-19, sars-cov-2
cl-covid19
Explore COVID-19 data with Common Lisp, gnuplot, SQL and Grafana
Stars: ✭ 51 (+168.42%)
Mutual labels:  grafana, covid-19, covid19-data
COVID19-taiwan
Release COVID-19 (SARS-CoV-2) FDA / NHI drugs screening results.
Stars: ✭ 24 (+26.32%)
Mutual labels:  coronavirus, covid-19, sars-cov-2
covid-br
COVID dashboard status from Brazil.
Stars: ✭ 28 (+47.37%)
Mutual labels:  corona, coronavirus, covid-19
covid19-datasets
A list of high quality open datasets for COVID-19 data analysis
Stars: ✭ 56 (+194.74%)
Mutual labels:  opendata, covid-19, covid19-data
Covid19arData
Data COVID-19 Argentina actualizada y en formatos abiertos.
Stars: ✭ 51 (+168.42%)
Mutual labels:  opendata, coronavirus, covid-19
Api
API for Current cases and more stuff about COVID-19 and Influenza
Stars: ✭ 2,323 (+12126.32%)
Mutual labels:  corona, coronavirus, covid-19
luftdatenpumpe
Process live and historical data from luftdaten.info, IRCELINE and OpenAQ. Filter by station-id, sensor-id and sensor-type, apply reverse geocoding, store into timeseries and RDBMS databases, publish to MQTT, output as JSON or visualize in Grafana.
Stars: ✭ 22 (+15.79%)
Mutual labels:  influxdb, grafana, opendata
Co-ronaBD.info
Interactive Dashboard of Bangladesh for the Covid-19 Pandemic
Stars: ✭ 28 (+47.37%)
Mutual labels:  coronavirus, covid-19, covid19-data
covid-19
A web application to display Coronavirus Diseases (COVID19) statistics from different countries.
Stars: ✭ 28 (+47.37%)
Mutual labels:  corona, coronavirus, covid-19
Cwa Server
Backend implementation for the Apple/Google exposure notification API.
Stars: ✭ 1,776 (+9247.37%)
Mutual labels:  corona, coronavirus, covid-19
Corona Cli
🦠 Track the Coronavirus disease (COVID-19) in the command line. Worldwide for all countries, for one country, and the US States. Fast response time (< 100ms). To chat: https://twitter.com/MrAhmadAwais/
Stars: ✭ 1,812 (+9436.84%)
Mutual labels:  corona, coronavirus, covid-19

Coronavirus Dresden

Go to data License Release

Screenshot of a Grafana dashboard that uses the data

This script collects official infection statistics published by the city of Dresden and saves them to InfluxDB. From there the data can be processed and visualised using the SQL-like query language InfluxQL and, for instance, Grafana.

Subsequent changes to the published data set can also be detected and routinely logged.

  • Data sets are archived here.
  • And you can have a look at my dashboard here.

Data source

The raw data provided by the city of Dresden and visualised on their Dashboard is obtained from the following source:

Data is available under an open licence compatible with CC-BY: Landeshauptstadt Dresden, dl-de/by-2-0, opendata.dresden.de.

Install

Get this repository:

git clone https://github.com/jdieg0/coronavirus-dresden.git

If desired, the data archive can be retrieved with:

cd coronavirus-dresden
git submodule update --init --recursive

If you want to load new data in the future, git pull inside the subdirectory:

cd data
git checkout main
git pull

Using a virtual environment of your choice for Python is recommended. An exemplary installation with venv is described below.

venv (recommended)

Set up Python environment:

python3 -m venv venv
source venv/bin/activate

pip install -r requirements.txt

InfluxDB (required)

macOS

brew install influxdb
brew services start influxdb

Ubuntu

wget -qO- https://repos.influxdata.com/influxdb.key | sudo apt-key add -
source /etc/lsb-release
echo "deb https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
sudo apt-get update && sudo apt-get install influxdb
sudo service influxdb start

Python API

Helpful resources:

Grafana (optional)

mac OS

brew install grafana
brew services start grafana

Run

python collect.py

cron

To search for new data regularly, enter:

sudo crontab -e

Add the following line to run the script every 5 minutes (adapt paths to suit your own installation):

*/5 * * * * /root/bin/coronavirus-dresden/venv/bin/python /root/bin/coronavirus-dresden/collect.py --log --archive-json

If you just want to routinely save new published JSON files and are not interested in saving the data to InfluxDB, you can do this by typing:

python collect.py --skip-influxdb

Command line arguments

To display all data collection options, type:

python collect.py --help
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].