doratiass commited on
Commit
fd9f154
·
1 Parent(s): ffacea5

add hover text

Browse files
Files changed (4) hide show
  1. .DS_Store +0 -0
  2. Dockerfile +2 -1
  3. app.R +1 -0
  4. side_bar.R +3 -0
.DS_Store ADDED
Binary file (6.15 kB). View file
 
Dockerfile CHANGED
@@ -20,7 +20,8 @@ RUN install2.r --error \
20
  thematic \
21
  plyr \
22
  scales \
23
- sn
 
24
 
25
  # Install development packages from GitHub
26
  RUN installGithub.r \
 
20
  thematic \
21
  plyr \
22
  scales \
23
+ sn \
24
+ shinyBS
25
 
26
  # Install development packages from GitHub
27
  RUN installGithub.r \
app.R CHANGED
@@ -12,6 +12,7 @@ library(shapviz)
12
  library(gh)
13
  library(thematic)
14
  library(xgboost)
 
15
 
16
  light <- bs_theme(bootswatch = "flatly")
17
  dark <- bs_theme(bootswatch = "darkly")
 
12
  library(gh)
13
  library(thematic)
14
  library(xgboost)
15
+ library(shinyBS)
16
 
17
  light <- bs_theme(bootswatch = "flatly")
18
  dark <- bs_theme(bootswatch = "darkly")
side_bar.R CHANGED
@@ -2,6 +2,7 @@ library(bslib)
2
  library(shinyWidgets)
3
  library(shiny)
4
  library(fontawesome)
 
5
 
6
  side_bar_buttons <- accordion(
7
  open = "Opioid",
@@ -139,6 +140,8 @@ side_bar_buttons <- accordion(
139
  value = 9,
140
  width = "100%"
141
  ),
 
 
142
  sliderInput(
143
  inputId = "prof_prim",
144
  label = "Percentage of primary doctor visits",
 
2
  library(shinyWidgets)
3
  library(shiny)
4
  library(fontawesome)
5
+ library(shinyBS)
6
 
7
  side_bar_buttons <- accordion(
8
  open = "Opioid",
 
140
  value = 9,
141
  width = "100%"
142
  ),
143
+ bsTooltip(id = "n_visits",
144
+ title = "Here is some text with your instructions"),
145
  sliderInput(
146
  inputId = "prof_prim",
147
  label = "Percentage of primary doctor visits",