word-count-analyzer

A simple Shiny app to analyze word and character count in text.

0
0
0
R
public

Word Count Analyzer – Shiny App

This is a simple Shiny application that analyzes a block of text, providing:

  • βœ… Total word count
  • βœ… Character count (with and without spaces)
  • βœ… A bar chart of the 10 most frequently used words

πŸš€ Features

  • πŸ“‹ Paste any text you want to analyze
  • πŸ”’ Get word and character statistics
  • πŸ“ˆ Visualize your most frequent words
  • ✨ Clean and responsive UI built with R Shiny

πŸ“¦ Requirements

Before running the app, make sure you have the following R packages installed:

  • shiny
  • tidyverse
  • tidytext
  • dplyr
  • purrr
  • stringr
  • ggplot2
  • tibble

You can install them manually by running the commands below in your R console:

install.packages("shiny")
install.packages("tidyverse")
install.packages("tidytext")
install.packages("dplyr")
install.packages("purrr")
install.packages("stringr")
install.packages("ggplot2")
install.packages("tibble")

Or, you can also run the packages.R file included in this repo to install them all at once.


πŸ› οΈ How to Run the App

  1. Clone or download this repository.
  2. Open the folder in Visual Studio Code (VS Code).
  3. Open packages.R and run each line using Ctrl + Enter to install the required packages (if not already installed).
  4. Open app.R.
  5. Run the entire script using Ctrl + Enter.

The app will launch in your default web browser.


πŸ“ File Structure

File Description
app.R The main Shiny app code
packages.R Script to install required packages
README This readme file
LICENSE MIT License

πŸ“Έ Screenshot

2025-05-10

πŸ“ƒ License

This project is licensed under the MIT License.
Feel free to use, modify, and share it β€” just include credit. ✌️


πŸ™‹πŸ½β€β™€οΈ Created By

Faithfulness Issijude, Toochi Uduma and Demilade Olagunju
Made with πŸ’™ for learning, fun, and community impact.


v0.3.3[beta]