Showing content from https://github.com/chaoliu-cl/textAnnotatoR below:
chaoliu-cl/textAnnotatoR: Interactive Text Annotation Tool with Shiny GUI
textAnnotatoR: Interactive Text Annotation Tool for R
textAnnotatoR
provides an interactive graphical user interface for qualitative text analysis in R. The package allows researchers, students, and practitioners to annotate text, manage codes, create memos, and visualize coding patterns through an intuitive Shiny interface.
- Interactive Text Annotation: Select and code text segments directly within the GUI
- Code Management: Create, organize, and merge codes with a hierarchical structure
- Theme Organization: Group related codes into themes with a tree-based hierarchy
- Memo Creation: Attach notes and observations to annotations
- Advanced Visualization: Analyze code frequencies, co-occurrences, and patterns
- Comparison Tools: Compare coding patterns between different coders or documents
- Project Management: Save, load, and manage annotation projects
- Export Options: Save annotations and coded text in various formats (CSV, JSON, HTML)
- R Integration: Seamlessly combine with other R packages for advanced analysis
# Install from CRAN
install.packages("textAnnotatoR")
# Or install the development version from GitHub
# install.packages("devtools")
devtools::install_github("chaoliu-cl/textAnnotatoR")
Launch the annotation interface with a simple function call:
library(textAnnotatoR)
annotate_gui()
This opens the Shiny application in your default web browser. The interface includes a toolbar for project management, a tabbed main area for different functions, and a text display area.
- Create a New Project: Click “New Project” in the top toolbar
- Import Text: Go to the “File” tab, upload your text document (.txt, .docx, .pdf)
- Annotate Text: Select text segments and apply codes
- Organize Codes: Create a hierarchical structure of themes and codes
- Analyze Patterns: Use the analysis tools to explore your coding
- Export Results: Save your annotations and analysis for further use
Comprehensive documentation is available through vignettes:
# List available vignettes
vignette(package = "textAnnotatoR")
# Read specific vignettes
vignette("practical_example", package = "textAnnotatoR")
vignette("technical_integration", package = "textAnnotatoR")
Create and manage hierarchical code structures with themes and subthemes:
- Use “Add Theme” to create organizational categories
- Group related codes under appropriate themes
- Visualize the hierarchy in a tree structure
Explore relationships between different codes:
- Identify patterns of code co-occurrence
- Visualize connections through network graphs
- Examine statistical measures of code relationships
Compare coding patterns between different coders or documents:
- Upload two annotation sets
- Analyze similarities and differences
- Visualize comparative patterns
Export your annotations in various formats:
- CSV for quantitative analysis
- JSON for web applications
- HTML for formatted viewing with code highlighting
Integration with R Ecosystem
textAnnotatoR
is designed to work seamlessly with other R packages:
- tidytext: For text mining and natural language processing
- quanteda: For advanced text analysis
- igraph/ggraph: For network visualizations of code relationships
- rmarkdown/shiny: For reporting and interactive dashboards
- R version 4.0.0 or higher
- Shiny and its dependencies
- A modern web browser
Contributions to textAnnotatoR
are welcome! Please feel free to submit issues or pull requests on GitHub.
This package is licensed under the GPL-3 License.
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4