{"id":13697295,"url":"https://github.com/wesslen/topicApp","last_synced_at":"2025-05-03T19:33:05.641Z","repository":{"id":81790239,"uuid":"87464927","full_name":"wesslen/topicApp","owner":"wesslen","description":"A simple Shiny App for Topic Modeling in R","archived":false,"fork":false,"pushed_at":"2018-11-10T20:56:07.000Z","size":385,"stargazers_count":43,"open_issues_count":2,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T15:23:33.848Z","etag":null,"topics":["r","shiny","structural-topic-modeling","topic-modeling","visualization"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wesslen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-06T19:03:29.000Z","updated_at":"2025-03-26T17:21:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"9785c82b-b391-4302-846d-a59c622ba1e4","html_url":"https://github.com/wesslen/topicApp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesslen%2FtopicApp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesslen%2FtopicApp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesslen%2FtopicApp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesslen%2FtopicApp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wesslen","download_url":"https://codeload.github.com/wesslen/topicApp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252242281,"owners_count":21717135,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["r","shiny","structural-topic-modeling","topic-modeling","visualization"],"created_at":"2024-08-02T18:00:55.310Z","updated_at":"2025-05-03T19:33:05.635Z","avatar_url":"https://github.com/wesslen.png","language":"R","funding_links":[],"categories":["Visualizations","R"],"sub_categories":["Embedding based Topic Models"],"readme":"# topicApp: A Simple Shiny App for Topic Modeling\n\nThis GitHub repo provides an interactive app for running small (\u003c 5 MB) text datasets. For larger datasets, we recommend our [GitHub repo](https://github.com/wesslen/text-analysis-org-science) that provides code examples of how to run manually topic modeling.\n\nAll materials are also archived on this [Dataverse]() page.\n\n## Prerequisites for Windows users\n\nTypically, R packages will automatically install dependent CRAN packages via the `install_github` function from `devtools`. However, for Windows (R \u003e= 3.3.0), this function does not work.\n\nTherefore, if you're running Windows, please run the following code to ensure you have the dependent packages before running the next step.\n\nThis may take a few minutes but you only need to run once.\n\n```{r}\npackages \u003c- c(\"shiny\",\"quanteda\",\"shinydashboard\",\"RColorBrewer\",\"DT\",\"visNetwork\",\"ggwordcloud\",\n              \"igraph\",\"tm\",\"reshape\",\"grid\",\"tidyverse\",\"shinyjs\",\"shinyBS\",\"stm\")\n\ninstall.packages(packages)\n```\n\n## Download and Running\n\nTo install and the run the app, open R/R Studio and run the following code:\n\n```{r}\ninstall.packages(\"devtools\")\ndevtools::install_github(\"wesslen/topicApp\")\ntopicApp::runApp()\n```\n\n![Screen Shot 1](img/screen-shot-1.png)\n\n![Screen Shot 2](img/screen-shot-2.png)\n\n![Screen Shot 3](img/screen-shot-3.png)\n\n## FAQ/Help\n\n1.  I'm getting an error message when trying to install the `slam` package (a dependency for several other packages).\n\nTry to run this command in your R (or R Studio) Console:\n\n```{r}\nslam_url \u003c- \"https://cran.r-project.org/src/contrib/Archive/slam/slam_0.1-37.tar.gz\" \ndevtools::install_url(slam_url)\n```\n\nThis should manually install the `slam` package.\n\n2.  I want to use more features of the `stm` packages (e.g., include covariates).\n\nThis app has been created for only simple analyses (e.g., small datasets, no covariates, limited functionality). If you're interested in more functionality of the `stm` package, you should considering either running the code individually or use Dan Zangri's `stmgui` package (see [stmGUI GitHub](https://github.com/dzangri/stmGUI))\n\n3.  I received an error that the file uploaded exceeded the maximum size (5MB+).\n\nYes. You will either (1) need to reduce the size of your dataset (e.g., remove unnecessary columns, sample records) or (2) consider running code manually. topicApp is only intended for small datasets and a starter solution for researchers new to R and topic modeling. For more advanced researchers, we recommend the code we've provided in our code repo [https://github.com/wesslen/text-analysis-org-science](https://github.com/wesslen/text-analysis-org-science).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwesslen%2FtopicApp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwesslen%2FtopicApp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwesslen%2FtopicApp/lists"}