- About the Project
1.1 Built With - Getting Started
2.1 Have a SQL database available
2.2 Install Flyway (Optional)
2.3 Install Datatino Orchestrator & Proto (Optional) - Usage
- Disclaimer
- Development & Contribution process
With the information on the dashboard, early signs that the rate of infection is increasing can be picked up. This project describes the definitions and calculations on various indicators to that purpose. See https://coronadashboard.rijksoverheid.nl/verantwoording for even more information on data calculation and presentation for the corona dashboard. The COVID-19 dashboard figures originate from a number of data sources, which are either combined or used independently. In order to streamline the calculations for the dashboard, each dashboard item has been split into separate data flows.
By means of stored procedures, separate data layers, and end states available in views, the figures are made available to be extracted.
- Microsoft SQL Server 2019
- T-SQL
For this project we have made use of Microsoft SQL Server 2019. You are free to choose another database type, but some parts of this project may need adjustments then. If you do not have an on-premise or cloud solution at your disposal, a Docker image has also been made available by Microsoft, which you can also use for initializing the project.
We use Flyway, in order to automate and version our database setup. See the technical documentation for more explanation on this. You can download Flyway here.
If you do not want to use Flyway, you can choose a tool of your own liking or exececute the files by hand.
Please make sure you specify a flyway.conf file containing the following information.
flyway.url=jdbc:sqlserver://<server>:1433;Database=<database>
flyway.user=
flyway.password=
flyway.schemas=\
VWSSTAGE,\
VWSSTATIC,\
VWSINTER,\
VWSDEST
flyway.locations=\
filesystem:main/sql/views,\
filesystem:main/sql/migration_views,\
filesystem:main/sql/functions,\
filesystem:main/sql/indexes,\
filesystem:main/sql/tables/VWSARCHIVE,\
filesystem:main/sql/tables/VWSSTATIC,\
filesystem:main/sql/tables/VWSSTAGE,\
filesystem:main/sql/tables/VWSINTER,\
filesystem:main/sql/tables/VWSDEST,\
filesystem:main/sql/data_import/static_data,\
filesystem:main/sql/datatino_configuration/orchestration,\
filesystem:main/sql/datatino_configuration/proto,\
filesystem:main/sql/stored_procedures,\
filesystem:main/sql/stored_procedures/vwsdest,\
filesystem:main/sql/stored_procedures/vwsinter,\
filesystem:main/sql/stored_procedures/archive/vwsstage,\
filesystem:main/sql/stored_procedures/archive/vwsinter
Datatino Orchestrator is used for the automation of the ingestion of data and processing of the data flows. This tool has been made in-house and we are currently working on making it publicly available. We will make a reference to the project when it is open sourced.
The installation of this solution is not a requirement in order to be able to run the calculations. You can also execute the stored procedures, and other filetypes manually, or make use of another solution to your liking.
Datatino Proto is used for generating JSON files based on a defined data selection. This tool has been made in-house and we are currently working on making it publicly available. We will make a reference to the project when it is open sourced.
You only need this tool if you wish to generate the same JSON files as is used for the dashboard. It is not a requirement to have it available for running calculcations of any sort.
In the technical documentation you can read how an identical data environment can be set up. In order to gain understanding of what the data means, a functional documentation has also been made available.
If you want to know how you could add new data items yourself, an instruction on this can be found here.
This dashboard is developed and maintained by a different team than the NL COVID19 Notification App. They are separate projects. If you want to get in touch with the team, please join the CODE for NL Slack and join the channel #coronadashboard.
Tamas Erkelens from the Municipality of Amsterdam is contact person for the project team that made the dashboard.
The core team works directly from this open-source repository. If you plan to propose changes, we recommend to open an issue beforehand where we can discuss your planned changes. This increases the chance that we might be able to use your contribution (or it avoids doing work if there are reasons why we wouldn't be able to use it).