forked from woobe/rugsmaps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui.R
35 lines (29 loc) · 937 Bytes
/
ui.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
library(shiny)
library(rMaps)
library(rCharts)
library(ggmap)
library(markdown)
navbarPage(title = "Ebola Trial Locations",
# Use a customized bootstrap theme
theme = 'bootstrap.css',
collapsable = TRUE,
tabPanel("About", includeMarkdown("doc/intro.md")),
tabPanel("Map",
tags$style('.leaflet {height: 800px;}'),
mapOutput('map_all')),
navbarMenu("Data",
tabPanel("Data (Original)",
HTML("<h3>Original Trial Data from WHO</h3>"),
downloadButton('dl_ori', 'Download CSV'),
HTML("<p> <br></p>"),
dataTableOutput("data_original")
),
tabPanel("Data (Modified)",
HTML("<h3>Processed Trial Locations with Lat/Lon Info</h3>"),
downloadButton('dl_mod', 'Download CSV'),
HTML("<p> <br></p>"),
dataTableOutput("data_modified")
)
),
tabPanel("Code", includeMarkdown("doc/code.md"))
)