betterwithdata_cleaning_4/shiny-app/ui.R

26 lines
625 B
R
Raw Normal View History

2015-11-07 11:50:03 -05:00
library(shiny)
# Define UI for application that draws a histogram
shinyUI(fluidPage(
# Application title
2015-11-07 17:07:56 -05:00
titlePanel("MEPS Survey Data Viewing Tool"),
2015-11-07 16:36:45 -05:00
2015-11-07 11:50:03 -05:00
# Sidebar with a slider input for the number of bins
sidebarLayout(
sidebarPanel(
2015-11-07 16:36:45 -05:00
uiOutput('fileSelect'),
uiOutput('columnList')
),
# Show a summary table of the selected variables
2015-11-07 11:50:03 -05:00
mainPanel(
2015-11-07 12:37:27 -05:00
tabsetPanel(
id = 'dataset',
2015-11-07 15:21:42 -05:00
tabPanel('Data Table', dataTableOutput('mytable1')),
tabPanel('Summary Statistics', dataTableOutput('mytable2')),
tabPanel('Scatter Plots', plotOutput('myplot')))
2015-11-07 11:50:03 -05:00
)
)
)
2015-11-07 16:36:45 -05:00
)