-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui.R
43 lines (32 loc) · 782 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
36
37
38
39
40
41
42
43
#
# This is the user-interface definition of a Shiny web application. You can
# run the application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
shinyUI(fluidPage(
titlePanel("Sentiment Analysis"),
textOutput("currentTime"),
h4("Tweets:"),
sidebarLayout(
sidebarPanel(
dataTableOutput('tweets_table')
),
# Show a plot of the generated distribution
mainPanel(
plotOutput("distPlot"),
sidebarPanel(
plotOutput("positive_wordcloud")
),
sidebarPanel(
plotOutput("negative_wordcloud")
),
sidebarPanel(
plotOutput("neutral_wordcloud")
)
)
)
))