Skip to content

App to show statistics about the COVID-19 epidemic in Estonia.

License

MIT, CC0-1.0 licenses found

Licenses found

MIT
LICENSE
CC0-1.0
LICENSE-data
Notifications You must be signed in to change notification settings

keeganmcbride/koroonakaart

 
 

Repository files navigation

Koroonakaart

Repo now being developed within Open Knowledge Estonia: https://github.com/okestonia/koroonakaart. Data is updated every day around 11:00 Estonian time (depending on TEHIK data update). Live version is available at koroonakaart.ee.

The URL to load the localized version follows the format of https://koroonakaart.ee/language (eg https://koroonakaart.ee/en). Valid language identifiers currently are et (Estonian), en (English) and ru (Russian).

This project is co-developed by a team of researchers and open government data activists from Open Knowledge Estonia, Tallinn University of Technology (Keegan McBride, @keeganmcbride), University of Tartu (Joonas Puura, @PuuraJ), and other civic activists (Harry Sild, @Kypsis; Chris Thompson @neuroactive) who took part in the Garage 48 Hack The Crisis Hackathon.

For more information please contact:

Maarja-Leena Saar (board member of Open Knowledge Estonia) ⁠— [email protected]

Data / API

All data used by our application can be accessed directly at the following link: https://www.koroonakaart.ee/data.json

To embed any of the charts

You can use the export menu on the charts (hamburger menu on the top right), select Embed Graph and copy and paste from the modal or directly link to the chart. Eg https://www.koroonakaart.ee/en/chart?chart=TestsPopRatioChart&height=700&width=1000 .

Accepts height and width currently as props through query string.

Project setup

Get/update data from TEHIK API

Download latest Estonian COVID-19 data from TEHIK and transform it into json format

cd TEHIK_Open_Data_Loading_Scripts/
pip3 install -r requirements.txt
python3 main.py

Install frontend dependencies

To Customize Vue.js configuration see Configuration Reference.

cd koroonakaart/
npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Building Docker image

docker build -t koroonakaart .

# run container in foreground (open http://localhost:8080)
docker run --rm -p 8080:80 --name koroona koroonakaart:latest

Current Data update commands

Update deaths and on ventilation from https://www.terviseamet.ee/et/koroonaviirus/koroonakaart Juhitaval hingamisel patsiente is in Haiglaravi tab and deaths are below the iframe Eestis on koroonaviirus nõudnud XX inimese elu. Also modify deceasedNumber with the latest number

cd {TEHIK_Open_Data_Loading_Scripts folder location} && python3 main.py
git push

Go to web server, then:

cd /var/www/html/koroonakaart/
git pull
cd koroonakaart && npm run build

Who we are?

How team formed @ Hack the Crisis and current maintenance

This is a work in progress and was built in ~24 hours as part of the Hack the Crisis hackathon put on by Garage 48 in Estonia. It is developed by Harry Sild (@Kypsis), Chris Thompson (@neuroactive), Joonas Puura (@PuuraJ), Keegan McBride (@Keeganmcbride). Hanna Maria Mägi came up with the initial design, Maarja Leena Saar and Sven Illing have also contributed.

Please feel free to fork and/or PR. We hope to keep this up-to-date and improve over time. All suggestions and ideas are welcome.

How to contribute?

It is all voluntary work and has no funding.

You have a proposal what to do or you can help to develop a solution? Take a look here > https://github.com/okestonia/koroonakaart/issues

Open Knowledge Estonia https://www.facebook.com/okestonia/ opened separate bank account to receive support for infrastructure and core maintance. We will publish all supporters and keep costs transparent.

MTÜ Open Knowledge Estonia EE607700771004696794

License and data information

This repository is maintained as an open source project and released under an MIT license.

⚠️ The highcharts component of this project is licensed under a more restrictive license: CC-BY-NC, which prevents you from using that component for commercial purposes. Before using the highcharts dependency, please ensure that your use case is compliant with this license.

The regional and settlement data is from Maa-amet version 20200601 and demographic data is provided by Statistikaamet.

The COVID-19 related data has been optained from TEHIK via https://www.terviseamet.ee/et/koroonaviirus/avaandmed and is available under CC0.

About

App to show statistics about the COVID-19 epidemic in Estonia.

Resources

License

MIT, CC0-1.0 licenses found

Licenses found

MIT
LICENSE
CC0-1.0
LICENSE-data

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 71.6%
  • Python 17.6%
  • JavaScript 7.1%
  • HTML 2.2%
  • Dockerfile 0.5%
  • R 0.5%
  • Other 0.5%