Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Interactive Text Annotation Tool with Shiny GUI

License

NotificationsYou must be signed in to change notification settings

chaoliu-cl/textAnnotatoR

Repository files navigation

R-CMD-checkCodecov test coverageCRAN statusLifecycle: experimental

Overview

textAnnotatoR provides an interactive graphical user interface forqualitative text analysis in R. The package allows researchers,students, and practitioners to annotate text, manage codes, creatememos, and visualize coding patterns through an intuitive Shinyinterface.

Key Features

  • Interactive Text Annotation: Select and code text segmentsdirectly within the GUI
  • Code Management: Create, organize, and merge codes with ahierarchical structure
  • Theme Organization: Group related codes into themes with atree-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 codersor 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 foradvanced analysis

Installation

# Install from CRANinstall.packages("textAnnotatoR")# Or install the development version from GitHub# install.packages("devtools")devtools::install_github("chaoliu-cl/textAnnotatoR")

Getting Started

Launch the annotation interface with a simple function call:

library(textAnnotatoR)annotate_gui()

This opens the Shiny application in your default web browser. Theinterface includes a toolbar for project management, a tabbed main areafor different functions, and a text display area.

Basic Usage

  1. Create a New Project: Click “New Project” in the top toolbar
  2. Import Text: Go to the “File” tab, upload your text document(.txt, .docx, .pdf)
  3. Annotate Text: Select text segments and apply codes
  4. Organize Codes: Create a hierarchical structure of themes andcodes
  5. Analyze Patterns: Use the analysis tools to explore your coding
  6. Export Results: Save your annotations and analysis for furtheruse

Documentation

Comprehensive documentation is available through vignettes:

# List available vignettesvignette(package="textAnnotatoR")# Read specific vignettesvignette("practical_example",package="textAnnotatoR")vignette("technical_integration",package="textAnnotatoR")

Advanced Features

Code Hierarchies

Create and manage hierarchical code structures with themes andsubthemes:

  • Use “Add Theme” to create organizational categories
  • Group related codes under appropriate themes
  • Visualize the hierarchy in a tree structure

Co-occurrence Analysis

Explore relationships between different codes:

  • Identify patterns of code co-occurrence
  • Visualize connections through network graphs
  • Examine statistical measures of code relationships

Comparison Tools

Compare coding patterns between different coders or documents:

  • Upload two annotation sets
  • Analyze similarities and differences
  • Visualize comparative patterns

Data Export

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

System Requirements

  • R version 4.0.0 or higher
  • Shiny and its dependencies
  • A modern web browser

Testing

The package includes comprehensive automated tests for corefunctionality, data processing, and utility functions. While testinginteractive Shiny components presents unique challenges, the packagemaintains good test coverage for the underlying logic and datamanipulation functions that power the user interface. Interactivecomponents are validated through manual testing and user feedback.

Contributing

Contributions totextAnnotatoR are welcome! Please feel free to submitissues or pull requests on GitHub.

License

This package is licensed under the GPL-3 License.

Contact

About

Interactive Text Annotation Tool with Shiny GUI

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp