-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathui.R
39 lines (29 loc) · 1.24 KB
/
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
library(shiny)
shinyUI(navbarPage("Twitter",
tabPanel("Hashtag",
fluidPage(
sidebarLayout(
sidebarPanel(
textInput("hashtag", "HashTag"),
textInput("count", "Maximum Tweets"),
actionButton("dispByHt", "Submit"),
width = 3
),
mainPanel(
tableOutput("tweets"))
)
)
),
tabPanel("User Timeline",
sidebarLayout(
sidebarPanel(
textInput("username", "User Name"),
textInput("counter", "Maximum Tweets"),
width = 3
),
mainPanel(
tableOutput("userinfo"),
tableOutput("usertweets")
)
))
))