Skip to content

Commit

Permalink
code: Change tab names to more meaningful ones.
Browse files Browse the repository at this point in the history
  • Loading branch information
andreassot10 committed Aug 27, 2021
1 parent 73ace76 commit 392fe8b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions R/app_ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ app_ui <- function(request) {
),

menuItem(
"TF-IDF & Bigrams",
"Words analysis",
tabName = "tab_tfidf",
icon = icon("dashboard")
)
Expand Down Expand Up @@ -151,17 +151,17 @@ app_ui <- function(request) {
#title = "tabs",

tabPanel(
"Sentiment - label",
"Sentiment summaries - theme-level",
mod_sentiment_analysis_tag_level_ui("sentiment_analysis_tag_level_ui_1")
),

tabPanel(
"Sentiment - text",
"Sentiment breakdown - text-level",
mod_sentiment_analysis_nrc_sentiment_breakdown_ui("sentiment_analysis_nrc_sentiment_breakdown_ui_1")
),

tabPanel(
"Polarity - text",
"Polarity - text-level",
mod_sentiment_analysis_textblob_polarity_ui("sentiment_analysis_textblob_polarity_ui_1")
)
)
Expand Down
4 changes: 2 additions & 2 deletions R/mod_sentiment_analysis_tag_level.R
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ mod_sentiment_analysis_tag_level_server <- function(id, x, target, text_col) {

net_sentiment_all_dicts %>%
plotNetSentiment(target_col_name = target,
title = "Net sentiment per tag")
title = "Net sentiment per theme")
})

####################
Expand Down Expand Up @@ -164,7 +164,7 @@ mod_sentiment_analysis_tag_level_server <- function(id, x, target, text_col) {
ggplot2::ggsave(file,
plot = plotNetSentiment(net_sentiment_all_dicts,
target_col_name = target,
title = "Net sentiment per tag"),
title = "Net sentiment per theme"),
device = pdf, height = 10, units = "in")
}
)
Expand Down

0 comments on commit 392fe8b

Please sign in to comment.