Displays infection data in Grafana
echo "INFLUXDB_HTTP_AUTH_ENABLED=false" > .env
docker-compose up --buildCheck http://127.0.0.1:3000 and login with admin/admin.
Copy .env.sample to .env
Define those variables in .env:
GF_SECURITY_ADMIN_USER: grafana admin userGF_SECURITY_ADMIN_PASSWORD: grafana admin passINFLUXDB_READ_USER: influxdb grafana userINFLUXDB_READ_USER_PASSWORD: influxdb grafana user passwordINFLUXDB_WRITE_USER: covina userINFLUXDB_WRITE_USER_PASSWORD: covina user passwordINFLUXDB_ADMIN_USER: influx admin user (not used, but required)INFLUXDB_ADMIN_PASSWORDinflux admin password (not used, but required)
docker-compose up --buildCheck http://127.0.0.1:3000 and login with GF_SECURITY_ADMIN_USER /
GF_SECURITY_ADMIN_PASSWORD.
Send PRs !!
Unfortunately, the source format is very unstable. Format changes every other day. At this commit's date, it has been changed at least 5 times...
For the record, on 20200420, the CSV format is the following:
dateRep day month year cases deaths geoId continentExp countryterritoryCode popData2018 countriesAndTerritories
20/04/2020 20 4 2020 88 3 AF Asia AFG 37172386 Afghanistan
...
Changed on 20200421:
dateRep,day,month,year,cases,deaths,countriesAndTerritories,geoId,countryterritoryCode,popData2018,continentExp
22/04/2020,22,4,2020,61,1,Afghanistan,AF,AFG,37172386,Asia
I am no expert at anything. Do not take anything here for granted.
Be safe out there.