Skip to content

evshvarov/covid-19

Repository files navigation

Covid-19 analytics

Try with https://covid-19.demo.community.intersystems.com/dsw/index.html#!/USER This is an interactive dashboard on the analytics for covid-19 pandemia. Screenshot 2020-09-29 at 14 02 39 Another dashboard shows the timeline: Screenshot 2020-09-18 at 10 59 13

There is also USA Interactive map Screenshot 2020-09-29 at 14 05 59

And the World Map Screenshot 2020-09-29 at 13 59 11

Also the bubble chart of top 10 countries Screenshot 2020-09-18 at 11 05 28

data source

The data is taken from Johns Hopkins repo

How it works

The dashboard is running on InterSystems IRIS 2020.4 Community Edition It uses IRIS Analytics module and DSW as a representation layer It runs in a Kubernetes cluster in GCP

How it was developed

AnalyzeThis module has been used to generate the class and the cube. Pivots and Dashboards were built manually using InterSystems IRIS Analytics DSW is used to design representation layer ISC-DEV module was used to export pivot and dashboard.

To export changes in Pivots and Dashboards do:

USER> do ##class(dev.code).export("*.DFI")

This will export pivots and dashboards into /src/dfi folder of the repo.

deployment

It's being deployed by Github Actions using this workflow Which uses terraform and K8 configuration. Dockerfile loads sources, pivot and dashboard. It imports data and builds cube.

Installation

Open terminal and clone/git pull the repo into any local directory

$ git clone [email protected]:evshvarov/covid-19.git

Open the terminal in this directory and run:

$ docker-compose build

How to start coding

This repository is ready to code in VSCode with ObjectScript plugin. Install VSCode, Docker and ObjectScript plugins and open the folder in VSCode.

Right-click on docker-compose.yml file and click Compose Restart

Once docker will finish starting procedure and show:

Creating covid-19_iris_1 ... done

Click on the ObjectScript status bar and select Refresh connection in the menu. Wait for VSCode to make connection and show something like "localhost:32778[USER] - Connected"

You can start coding after that.

Contributions are welcome via Pull Requests.