-
Notifications
You must be signed in to change notification settings - Fork 0
Sidebar
Roberto Chiosa edited this page Oct 28, 2020
·
5 revisions
The Sidebar is the way you can navigate across the dashboard.
It is organized into tabs and sub-tabs as follows:
- Welcome: It is the landing page of the dashboard
-
Explore: it is an item which permits to perform preliminary exploration of data and manipulation. It is organized into sub-tabs:
- Manage: it permits to load a dataset through a user defined file format and perform a preliminary exploration of variables
- View: it permits to view the loaded dataset under tabular form. You can rename the variables and perform pivot actions on the table.
- Visualize: it permits to select from different chart types, modify the plotting parameters and visualize the dataset
- Advanced: It contains links to separately developed apps that perform advanced data analytics tasks
- Source Code:
The sidebar code is contained in sidebar.R script.
Into a sidebarMenu(id = "tabs")
the previously listed tabs and sub-tabs are created respectively through the menuItem()
and menuSubItem()
function. Each item is labeled with a tabName
. To keep track in the which tab is selected the selected_sidebar_tab
output is created on the server side and printed on the bottom of the sidebarMenu()
#### UI
textOutput("selected_sidebar_tab")
#### SERVER
output$selected_sidebar_tab <- renderText({
paste("You've selected:", input$tabs)
})