这是我的 ui.R 和 server.R。我不确定为什么dashboardBody 中的标题不显示。
server.R
shinyServer(function(input, output){
})
ui.R
dashboardPage(
dashboardHeader(title = "Analysis"),
dashboardSidebar(
sidebarMenu(
menuItem("Data Pull", tabName = "dataPull", icon = icon("database"),
dateInput("startDateInput", "What is the starting date?", value = NULL, min = NULL, max = NULL, format = "yyyy-mm-dd", startview = "month", weekstart = 0, language = "en"),
dateInput("endDateInput", "What is the ending date?", value = NULL, min = NULL, max = NULL, format = "yyyy-mm-dd", startview = "month", weekstart = 0, language = "en")
),
menuItem("View Data", tabName = "dataView", icon = icon("table"),
selectInput("dataViewSelectionInput", label = "Selection of Interest?", choices = c(1,2,3), multiple = TRUE),
checkboxInput("dataViewAll", label = "View all pulled", value = TRUE)
)
)
),
dashboardBody(
tabItems(
tabItem(tabName = "dataPull",
h1("Data Selected")
),
tabItem(tabName = "dataView",
h2("Viewing Data")
)
)
)
)