Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mshin77 committed Dec 29, 2023
1 parent 36df998 commit bbd219b
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 414 deletions.
4 changes: 2 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ knitr::opts_chunk$set(

`TextAnalysisR` provides a supporting workflow for text mining analysis. The web app incorporates [quanteda](https://github.com/quanteda/quanteda) (text preprocessing), [stm](https://github.com/bstewart/stm) (structural topic modeling), and [ggraph](https://github.com/thomasp85/ggraph) as well as [widyr](https://github.com/juliasilge/widyr) (network analysis). [tidytext](https://github.com/cran/tidytext) was implemented to tidy non-tidy format objects.

## Installation
## Installation:

The development version from [GitHub](https://github.com/mshin77/TextAnalysisR) with:

Expand Down Expand Up @@ -48,6 +48,6 @@ TextAnalysisR.app()

- Shin, M. (2023). *TextAnalysisR: Analyze text data* [Web application]. https://www.textanalysisr.org

## Reference
## Reference:

- Shin, M., Ok, M. W., Choo, S., Hossain, G., Bryant, D. P., & Kang, E. (2023). A content analysis of research on technology use for teaching mathematics to students with disabilities: word networks and topic modeling. *International Journal of STEM Education, 10*(1), 1-23. https://doi.org/10.1186/s40594-023-00414-x
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The web app incorporates
[tidytext](https://github.com/cran/tidytext) was implemented to tidy
non-tidy format objects.

## Installation
## Installation:

The development version from
[GitHub](https://github.com/mshin77/TextAnalysisR) with:
Expand All @@ -39,7 +39,7 @@ Launch and browser the TextAnalysisR.app on the local computer:
- Shin, M. (2023). *TextAnalysisR: Analyze text data* \[Web
application\]. <https://www.textanalysisr.org>

## Reference
## Reference:

- Shin, M., Ok, M. W., Choo, S., Hossain, G., Bryant, D. P., &
Kang, E. (2023). A content analysis of research on technology use
Expand Down
2 changes: 1 addition & 1 deletion _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
url: https://mshin77.github.io/TextAnalysisR/
url: ~
template:
bootstrap: 5

4 changes: 2 additions & 2 deletions inst/TextAnalysisR.app/markdown/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The web app incorporates
[tidytext](https://github.com/cran/tidytext) was implemented to tidy
non-tidy format objects.

## Installation
## Installation:

The development version from
[GitHub](https://github.com/mshin77/TextAnalysisR) with:
Expand All @@ -39,7 +39,7 @@ Launch and browser the TextAnalysisR.app on the local computer:
- Shin, M. (2023). *TextAnalysisR: Analyze text data* \[Web
application\]. <https://www.textanalysisr.org>

## Reference
## Reference:

- Shin, M., Ok, M. W., Choo, S., Hossain, G., Bryant, D. P., &
Kang, E. (2023). A content analysis of research on technology use
Expand Down
33 changes: 13 additions & 20 deletions inst/TextAnalysisR.app/server.R
Original file line number Diff line number Diff line change
@@ -1,28 +1,22 @@


suppressPackageStartupMessages({
library(dplyr)
library(ggplot2)
library(quanteda)
library(shiny)
library(stm)
library(tidyr)
library(tidytext)
library(ggraph)
library(widyr)
library(markdown)
library(dplyr)
library(ggplot2)
library(quanteda)
library(shiny)
library(stm)
library(tidyr)
library(tidytext)
library(ggraph)
library(widyr)
library(markdown)
library(TextAnalysisR)
})

load("source/dictionary_list_1.rda")
load("source/dictionary_list_2.rda")
load("source/SpecialEduTech.rda")
load("source/stopwords_list.rda")
source("source/text_mining_functions.R")
Sys.setlocale(category = "LC_ALL", locale = "en_US.UTF-8")

server <- shinyServer(function(input, output, session) {

Sys.setlocale(category = "LC_ALL", locale = "en_US.UTF-8")


observe({
if (input$dataset_choice == "SpecialEduTech") {
shinyjs::disable("file")
Expand All @@ -48,7 +42,6 @@ server <- shinyServer(function(input, output, session) {
return(data)
})


output$data_table <-
DT::renderDataTable(mydata(), rownames = FALSE)

Expand Down
Binary file removed inst/TextAnalysisR.app/source/SpecialEduTech.rda
Binary file not shown.
Binary file removed inst/TextAnalysisR.app/source/dictionary_list_1.rda
Binary file not shown.
Binary file removed inst/TextAnalysisR.app/source/dictionary_list_2.rda
Binary file not shown.
Binary file removed inst/TextAnalysisR.app/source/stopwords_list.rda
Binary file not shown.
Loading

0 comments on commit bbd219b

Please sign in to comment.