Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MIRACUM
dqa
miRacumDQA
Commits
3fa46b60
Commit
3fa46b60
authored
5 years ago
by
kapsner
Browse files
Options
Download
Email Patches
Plain Diff
changed position of reset.js
parent
adfb9185
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
DQA_Tool/app/_utilities/RMD/DQA_report.Rmd
+1
-1
DQA_Tool/app/_utilities/RMD/DQA_report.Rmd
DQA_Tool/app/_utilities/reset.js
+0
-0
DQA_Tool/app/_utilities/reset.js
DQA_Tool/app/tests/testthat/test-headless.R
+0
-3
DQA_Tool/app/tests/testthat/test-headless.R
DQA_Tool/app/ui.R
+56
-56
DQA_Tool/app/ui.R
with
57 additions
and
60 deletions
+57
-60
DQA_Tool/app/_utilities/RMD/DQA_report.Rmd
+
1
-
1
View file @
3fa46b60
---
#
script by
Lorenz Kapsner
#
(c) 2019
Lorenz Kapsner
title: |
| Datenqualitätsanalyse des §21-Datensatzes:
| Überprüfung der ETL-Strecken zwischen Quellsystem (exportierte §21 Rohdaten) und Zielsystem (i2b2 Datenbank)
...
...
This diff is collapsed.
Click to expand it.
DQA_Tool/app/reset.js
→
DQA_Tool/app/
_utilities/
reset.js
+
0
-
0
View file @
3fa46b60
File moved
This diff is collapsed.
Click to expand it.
DQA_Tool/app/tests/testthat/test-headless.R
+
0
-
3
View file @
3fa46b60
...
...
@@ -46,8 +46,5 @@ test_that("correct functioning of headless function",{
expect_s3_class
(
rv
$
list_source
[[
"OPS.CSV"
]],
"data.table"
)
expect_known_hash
(
rv
$
list_source
[[
"ICD.CSV"
]],
"8dda050b3d"
)
expect_s3_class
(
rv
$
list_source
[[
"ICD.CSV"
]],
"data.table"
)
})
This diff is collapsed.
Click to expand it.
DQA_Tool/app/ui.R
+
56
-
56
View file @
3fa46b60
...
...
@@ -5,67 +5,67 @@ shinyUI(dashboardPage(skin = "black",
dashboardHeader
(
title
=
"MIRACUM DQA"
),
dashboardSidebar
(
# Include shinyjs in the UI Sidebar
shinyjs
::
useShinyjs
(),
extendShinyjs
(
script
=
"reset.js"
,
functions
=
"reset"
),
# Add the js code to the page
#Sidebar Panel
sidebarMenu
(
id
=
"tabs"
,
menuItem
(
"Dashboard"
,
tabName
=
"tab_dashboard"
,
icon
=
icon
(
"tachometer-alt"
)),
sidebarMenuOutput
(
"menu"
),
menuItem
(
"Settings"
,
tabName
=
"tab_config"
,
icon
=
icon
(
"cogs"
)),
menuItem
(
"DQ MDR"
,
tabName
=
"tab_mdr"
,
icon
=
icon
(
"database"
)),
tags
$
hr
(),
actionButton
(
"reset"
,
"Reset DQA Tool"
)
)),
# Include shinyjs in the UI Sidebar
shinyjs
::
useShinyjs
(),
extendShinyjs
(
script
=
"
./_utilities/
reset.js"
,
functions
=
"reset"
),
# Add the js code to the page
#Sidebar Panel
sidebarMenu
(
id
=
"tabs"
,
menuItem
(
"Dashboard"
,
tabName
=
"tab_dashboard"
,
icon
=
icon
(
"tachometer-alt"
)),
sidebarMenuOutput
(
"menu"
),
menuItem
(
"Settings"
,
tabName
=
"tab_config"
,
icon
=
icon
(
"cogs"
)),
menuItem
(
"DQ MDR"
,
tabName
=
"tab_mdr"
,
icon
=
icon
(
"database"
)),
tags
$
hr
(),
actionButton
(
"reset"
,
"Reset DQA Tool"
)
)),
dashboardBody
(
# Include shinyjs in the UI Body
shinyjs
::
useShinyjs
(),
# js reset function
# https://stackoverflow.com/questions/25062422/restart-shiny-session
extendShinyjs
(
script
=
"./_utilities/reset.js"
,
functions
=
"reset"
),
# Add the js code to the page
tabItems
(
tabItem
(
tabName
=
"tab_dashboard"
,
moduleDashboardUI
(
"moduleDashboard"
)
),
tabItem
(
tabName
=
"tab_config"
,
moduleConfigUI
(
"moduleConfig"
)
),
tabItem
(
tabName
=
"tab_rawdata1"
,
moduleRawdata1UI
(
"moduleRawdata1"
)
),
# Include shinyjs in the UI Body
shinyjs
::
useShinyjs
(),
tabItem
(
tabName
=
"tab_numerical"
,
moduleNumericalUI
(
"moduleNumerical"
)
),
# js reset function
# https://stackoverflow.com/questions/25062422/restart-shiny-session
extendShinyjs
(
script
=
"reset.js"
,
functions
=
"reset"
),
# Add the js code to the page
tabItem
(
tabName
=
"tab_categorical"
,
moduleCategoricalUI
(
"moduleCategorical"
)
),
tabItems
(
tabItem
(
tabName
=
"tab_dashboard"
,
moduleDashboardUI
(
"moduleDashboard"
)
),
tabItem
(
tabName
=
"tab_config"
,
moduleConfigUI
(
"moduleConfig"
)
),
tabItem
(
tabName
=
"tab_rawdata1"
,
moduleRawdata1UI
(
"moduleRawdata1"
)
),
tabItem
(
tabName
=
"tab_numerical"
,
moduleNumericalUI
(
"moduleNumerical"
)
),
tabItem
(
tabName
=
"tab_categorical"
,
moduleCategoricalUI
(
"moduleCategorical"
)
),
tabItem
(
tabName
=
"tab_plausibility"
,
modulePlausibilityUI
(
"modulePlausibility"
)
),
tabItem
(
tabName
=
"tab_visualizations"
,
moduleVisualizationsUI
(
"moduleVisulizations"
)
),
tabItem
(
tabName
=
"tab_report"
,
moduleReportUI
(
"moduleReport"
)
),
tabItem
(
tabName
=
"tab_mdr"
,
moduleMDRUI
(
"moduleMDR"
)
)
tabItem
(
tabName
=
"tab_plausibility"
,
modulePlausibilityUI
(
"modulePlausibility"
)
),
tabItem
(
tabName
=
"tab_visualizations"
,
moduleVisualizationsUI
(
"moduleVisulizations"
)
),
tabItem
(
tabName
=
"tab_report"
,
moduleReportUI
(
"moduleReport"
)
),
tabItem
(
tabName
=
"tab_mdr"
,
moduleMDRUI
(
"moduleMDR"
)
)
)
)
))
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment