Web App enhancements
Online Demo
Fixed ZPM
12 DataSets containing 43 tables based on datasets from data.world and kaggle.com
Application to create tables dynamically based on the files in folder and Load data by using all-new LOAD DATA InterSystems IRIS 2021.2 Preview functionality.
DataSet can be installed or removed by terminal or by using web application. Data can be view and copied by using Web application.
https://medicaldatasets.demo.community.intersystems.com/csp/datasets/index.csp by using SuperUser | SYS
To start coding with this repo, you do the following:
git clone https://github.com/mwaseem75/DataSetProj.git
docker-compose build
docker-compose up -d
zpm "install dataset-medical"
docker-compose exec iris iris session iris
ZN "DATASETS"
do ##class(dc.data.medical.utility).ImportDS(1)
11 Tables are created, 83,341 Records Loaded successfully, 140 errors Reported
As you noticed previous LOAD DATA returns 140 errors. To check the error details we will use %SQL_Diag.Result and %SQL_Diag.Message tables. We need diag ID to check detail which in our case is 5 (Last column in previous snapshot)
Open Management Portal SQL and type below SQL command to check details in %SQL_Diag.Result table against Diag ID
SELECT * FROM %SQL_Diag.Result WHERE ID = 5
and to check the details of 140 errors type below SQL command
SELECT * FROM %SQL_Diag.Message WHERE severity = 'error' and diagResult = 5
System is displaying details of 140 errors. Please note that we are passing same %SQL_Diag.Result ID to diagResulg column
Navigate to http://localhost:52773/csp/datasets/index.csp and press Install DataSet button
do ##class(dc.data.medical.utility).RemoveDS(1)
do ##class(dc.data.medical.utility).ImportDS(999)
do ##class(dc.data.medical.utility).RemoveDS(999)
do ##class(dc.data.medical.utility).GetStatusDS(1)
do ##class(dc.data.medical.utility).GetStatusDS(999)
Template used in web application is from Bootstrap 4 Admin Dashboard and it is free to use to develop non-commercial applications.